D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
FrieseWoudloper
Full window
Github gist
arrondissementen in d3.js v3
<!DOCTYPE html> <script src="https://d3js.org/d3.v3.min.js"></script> <div class="graph"></div> <script> alert('test met scale=150'); var width = 960; var height = 500; var svg = d3.select("body").append("svg") var projection = d3.geo.mercator() .translate([width / 2, height / 2]) var path = d3.geo.path() .projection(projection); url = "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wfs?service=wfs&request=GetFeature&typeName=cbs_arrondissementsgebied_2019_gegeneraliseerd&outputFormat=json&srsName=EPSG:4326"; d3.json(url, function(err, geojson) { svg.append("path") .attr("d", path(geojson)) }) </script>
https://d3js.org/d3.v3.min.js