D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
deckerlr
Full window
Github gist
Project
Project version 10
<!DOCTYPE html> <meta charset="utf-8"> <style> /* CSS goes here. */ </style> <body> <p> This sucks!</p> <script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script> <script> var w = 900; var h = 600; var svg = d3.select("body") .append("svg") .attr("width", w) .attr("height", h); var path = d3.geo.path(); d3.json("norfolk.json", function(json) { svg.selectAll("path") .data(json.features) .enter() .append("path") .attr("d", path); }); </script>
https://d3js.org/d3.v3.min.js