Skip to main content
Public

Share visualization

Loading preview…

Fork of USA Country Map

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of USA Country Map

0
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

Comments

Sign in to join the discussion.

MIT Licensed