Fork of Salem Map
✓ Published1🌍 Public
This example displays a map of Salem using a green-blue choropleth style, with geographic features rendered as SVG paths via D3’s `geoMercator` projection and `geoPath`. The map is built with React, pulling TopoJSON data from a GitHub gist and using the `topojson` library’s `feature` function to extract features. Hovering over individual departments (marked with the `.dptos` class) would turn them pink, though the current SVG only renders the main map paths without that interaction.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed