xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8">
<title>D3 with SVG Elements</title>
<script type="text/javascript" src="https://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
background-color: #ddddff;
}
svg {
background-color: white;
}
</style>
</head>
<body>
<svg width="200" height="200">
<circle cx="100" cy="100" r="100" fill="violet" />
<circle cx="100" cy="100" r="90" fill="pink" />
<circle cx="100" cy="100" r="80" fill="purple" />
<circle cx="100" cy="100" r="70" fill="#F2E0F7" />
<circle cx="100" cy="100" r="60" fill="white" />
<text x="75" y="115" fill="grey" font-size="28" font-family="Helvetica">test</text>
<line x1="75" y1="120" x2="122" y2="120" stroke="grey" stroke-width="1" />
</svg>
<script type="text/javascript">
//Load in contents of CSV file
d3.csv("evenementen.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