D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
Contrastat
Full window
Github gist
Share of votes in Barcelona
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Radar chart</title> <script src="https://d3js.org/d3.v3.min.js"></script> <script src="RadarChart.js"></script> <style> body { overflow: hidden; margin: 0; font-size: 14px; font-family: "Helvetica Neue", Helvetica; } #chart { position: absolute; top: 50px; left: 100px; } </style> </head> <body> <div id="body"> <div id="chart"></div> </div> <script type="text/javascript" src="script.js"></script> </body> </html>
Modified
http://d3js.org/d3.v3.min.js
to a secure url
https://d3js.org/d3.v3.min.js