Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of USA Country Map

Public visualization

Viewing a saved revision (read-only)

e1932bb4ddf448388fc0019e47c1bc48

Fork of USA Country Map

0 stars0🌍 Public
SSumanya4
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from USA Country Map

This fork of a USA country map displays the 50 states using a purple fill with white borders, and hovering over a state highlights it in yellow. The visualization loads geographic data from a TopoJSON file via `d3.json`, then converts it to GeoJSON using `feature` and `mesh` from TopoJSON. The map is rendered as SVG paths generated by `d3.geoPath` with the `geoAlbersUsaTerritories` projection, all within a React component that manages data fetching through the `useData` hook.

AI-generated description