Skip to main content
100%

D3: Loading GeoJSON data and generating SVG paths

✓ Published0🌍 Public
MMbrownshoes
Last edited Nov 24, 2017
Created on Oct 8, 2014

This example combines Canadian health data with geographic boundaries to create a choropleth map. It loads GeoJSON province outlines via `d3.json` and CSV health statistics via `d3.csv`, merging them by province name to color each region using a `d3.scale.quantize` color scale. The map uses a `d3.geo.conicConformal` projection and `d3.geo.path` for SVG rendering, with population circles from a third CSV overlaid using the same projection.

AI-generated description

Similar vizzes