Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
HhelloHailey-sketch
Last edited Nov 16, 2022
Created on Nov 16, 2022
Forked from Choropleth Map

This example displays a choropleth map of China’s provinces, colored by economic group using an ordinal color scale from `d3.scaleOrdinal` and `schemeSpectral`. It renders geographic boundaries with `d3.geoPath` and a natural Earth projection, and supports interactive pan and zoom via `d3.zoom`. A legend, built with custom SVG circles and text, shows category colors. Province data comes from a local `chinaMap.json` file, with additional metadata merged from a TSV source.

AI-generated description
MIT Licensed

Similar vizzes