xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sudeshna's GMO Corn Data with SVG</title>
<script type="text/javascript" src="https://d3js.org/d3.v3.js"></script>
</head>
<body>
<svg xmlns="https://www.w3.org/2000/svg" width="500" height="500">
<circle cx="100" cy="100" r="20" fill="black" />
<circle cx="150" cy="150" r="40" fill="brown" />
<circle cx="200" cy="200" r="70" fill="orange" />
<circle cx="350" cy="350" r="90" fill="yellow" />
<text x="50" y="50" fill="black" font-size="24" font-weight="bold" font-family="Helvetica">SVG is cool</text>
</svg>
<script type="text/javascript">
//Load in contents of CSV file
d3.csv("GMOCorn.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>
</body>
</html>
Modified http://d3js.org/d3.v3.js to a secure url
https://d3js.org/d3.v3.js