Gist 69526c10c61369e9ebc7f2479ab96375
✓ Published0🌍 Public
MMbrownshoes
Last edited Apr 23, 2018
Created on Apr 20, 2018
This example renders a choropleth map of British Columbia’s regional districts from a TopoJSON file, coloring each polygon by its `FEATURE_AREA_SQM` property. The visualization uses a custom `d3.geoPath` projection to draw district boundaries and a sequential color scale to encode area. Hover effects are implemented through a `transition.attrTween` that animates the fill color on selection, while a tooltip displays the district name and area. The map is composed using D3’s topology and geometry APIs, with the data sourced from the province’s legal boundary records.
AI-generated description