Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a map with D3.js!

Public visualization

Fork of Let's make a map with D3.js!

0 stars0🌍 Public
Mmaferayala
Last edited Jul 30, 2022
Created on Jul 30, 2022

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

Comments

Sign in to join the discussion.

MIT Licensed