Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Nikita's USA Country Map

Public visualization

Viewing a saved revision (read-only)

b491f6ad8ac4425abd3f2e673e0c8a40

Fork of Fork of Nikita's USA Country Map

0 stars0🌍 Public
IIndhuKrishnaraj
Last edited Mar 30, 2023
Created on Mar 30, 2023

This example displays a choropleth-style map of the 50 U.S. states, with each state filled in blue and bordered by black interior lines. Built with React and D3 v5, it uses the `geoAlbersUsaTerritories` projection and `d3.geoPath()` to render geographic shapes from a TopoJSON file. The map highlights states on hover by changing their fill color to purple. The data is loaded asynchronously via `json()` and processed with TopoJSON’s `feature` and `mesh` functions.

AI-generated description