D3 Course Code Along - Create Map
✓ Published1🌍 Public
Rrenenadorp
Last edited Jun 19, 2020
Created on Jun 18, 2020
Forked from D3 Course Code Along - General Update Pattern
This example visualizes world population growth from 1000 to 2020, mapping countries on a natural Earth projection using D3 v5. It loads TopoJSON world atlas data, converts it to GeoJSON with the `feature` method, and renders each country as an SVG path via `d3.geoPath`. The code also draws a sphere outline and alternates between `geoMercator`, `geoOrthographic`, `geoStereographic`, and `geoNaturalEarth1` projections, with data from a CSV file displayed alongside the map.
AI-generated descriptionMIT Licensed