Skip to main content
100%

Fork of Working with

✓ Published0🌍 Public
AAmnaRizvi-S
Last edited Jul 20, 2022
Created on Jul 19, 2022
Forked from Working with Time

This example displays a world map visualization of the Data Canvas Sense Your City dataset, rendered as SVG paths. Using React hooks for state management, the code fetches TopoJSON country boundaries and converts them to GeoJSON with `topojson.feature`. The `d3.geoEqualEarth` projection and `d3.geoPath` generate the map shapes, which are styled with cyan fill and gray strokes. The visualization loads geographic data from the unpkg-hosted world-atlas package.

AI-generated description
MIT Licensed

Similar vizzes