Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Canada Map

Public visualization

Canada Map

0 stars0🌍 Public
GGogineni44
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from Mexico map

This example displays a static choropleth map of Canada rendered as SVG paths. It loads GeoJSON data from `canada.json` and uses `topojson.feature` to convert the TopoJSON collection. A Mercator projection (`d3.geoMercator`) centers the country, with `d3.geoPath` generating the path data for each province. The map applies a uniform gray fill and dark strokes, using D3 v7 with a standard SVG element.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed