xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8">
<title>Loading CSV Data with D3</title>
<script type="text/javascript" src="https://d3js.org/d3.v3.js"></script>
</head>
<body>
<p>Just a super simple version of the OECD logo, please have a look in the console!</p>
<svg width="600" height="300">
<circle cx="140" cy="60" r="40" fill="#3E68E6"></circle>
<line x1="190" y1="20" x2="220" y2="60" stroke="grey" stroke-width="8" />
<line x1="220" y1="60" x2="190" y2="100" stroke="grey" stroke-width="8" />
<line x1="220" y1="20" x2="250" y2="60" stroke="grey" stroke-width="8" />
<line x1="250" y1="60" x2="220" y2="100" stroke="grey" stroke-width="8" />
<text x="265" y="75" fill="grey" font-size="42" font-family="Arial">OECD</text>
</svg>
<script type="text/javascript">
d3.csv("OECD_social.csv", function(data) {
console.log(data);
});
</script>
</body>
</html>
Modified http://d3js.org/d3.v3.js to a secure url
https://d3js.org/d3.v3.js