Built with blockbuilder.org
xxxxxxxxxx
<head>
<title>Dimple Pie Chart| Gliesians</title>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://dimplejs.org/dist/dimple.v2.1.6.min.js"></script>
</head>
<body>
<script type="text/javascript">
var svg = dimple.newSvg("body", 800, 600);
d3.csv("Facebook.csv", function (data) {
var myChart = new dimple.chart(svg, data);
myChart.setBounds(20, 20, 460, 360);
myChart.addMeasureAxis("p", "TotalInteractions");
myChart.addSeries(["Type"], dimple.plot.pie);
myChart.addLegend(500, 20, 90, 300, "left");
myChart.draw();
});
</script>
</body>
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://dimplejs.org/dist/dimple.v2.1.6.min.js to a secure url
https://d3js.org/d3.v3.min.js
https://dimplejs.org/dist/dimple.v2.1.6.min.js