xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8">
<title>SVG Example</title>
<style type="text/css">
body {
background-color: #ddddff;
}
svg {
background-color: white;
}
</style>
</head>
<body>
<script src="https://d3js.org/d3.v3.js"></script>
<script type="text/javascript">
//Load in contents of CSV file
d3.csv("Selected Socioeconomic Indicators in Chicago from 2008-2012.csv", function(data) {
//Now CSV contents have been transformed into
//an array of JSON objects.
//Log 'data' to the console, for verification.
console.log(data);
});
</script>
<svg width="700" height="500">
<circle cx="350" cy="270" r="200" fill="red" />
<circle cx="350" cy="270" r="150" fill="white" />
<circle cx="350" cy="270" r="100" fill="red" />
<circle cx="350" cy="270" r="50" fill="blue" />
<polygon points="325,300 350,235 375,300 315,260 385,260"
style="fill:white;stroke:white;stroke-width:1" />
<text x="200" y="50" fill="charcoal" font-size="42"
font-weight="bold" font-family="Helvetica">Captain America!</text>
</svg>
</body>
</html>
Modified http://d3js.org/d3.v3.js to a secure url
https://d3js.org/d3.v3.js