xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8">
<title>Baltic Container Traffic</title>
<script type="text/javascript" src="https://d3js.org/d3.v3.js"></script>
</head>
<body>
<svg width="254" height="274" viewBox="0 0 127 137">
<polygon points="42,1 127,43 85,64 1,21" fill="indianred" />
<polygon points="1,21 1,72 85,114 85,64 " fill="darkred" />
<polygon points="85,114 85,64 127,43 127,93 " fill="red" />
<text x="1" y="120" fill="indigo" font-size="14" font-weight="bold" font-family="Helvetica">BALTIC</text>
<text x="33" y="135" fill="indigo" font-size="14" font-weight="bold" font-family="Helvetica">CONTAINERS</text>
</svg>
<script type="text/javascript">
//Load in contents of CSV file
d3.csv("balticcontainers.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