🌍 Public
Viewing a saved revision (read-only)
bafc1467350342d6ac7eaae2c5388f64
Fork of Let's make a map with D3.js!
This example renders a choropleth-style map of continental Costa Rican cantons using a Mercator projection. It loads GeoJSON data via `d3.json` and draws the geographic features as SVG paths with `d3.geoPath` and `d3.geoMercator`. The code binds the fetched features to path elements, generating each shape’s outline directly from the GeoJSON geometry. The map uses a minimal styling approach with a full-window SVG and no additional data-encoding layers.
AI-generated description