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>
<br>
<svg width="900" height="220">
<circle cx="350" cy="100" r="100" fill="#900" />
<circle cx="350" cy="100" r="70" fill="#900" stroke="white" stroke-width="10"/>
<path d = "M 350 50 L 366 80 L 400 85 L 375 109 L 380 143 L 350 126 L 320 143 L 325 109 L 302 85 L 336 80 L 350 50" fill = "white"/>
<text x="0" y="150" fill="#900" font-size="115" font-weight="bold" font-style="italic" font-family="Arial">HER</text>
<text x="445" y="150" fill="#900" font-size="115" font-weight="bold" font-style="italic" font-family="Arial">SCORE</text>
</svg>
<p><font face= "arial" font size= "5">HeroScore is the latest rating measuring your social influence in Poker. <br> Top100 available to be explored in the console!</font></p>
<script type="text/javascript">
//Load in contents of CSV file
d3.csv("DataHeroscoreTop100.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