Skip to main content
Public

Share visualization

Loading preview…

USA Map By Sushil

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

USA Map By Sushil

0
Sskambhore04
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example displays a choropleth-style map of the United States using SVG. It shows state boundaries rendered as red strokes on a blank canvas, with states that change to blue on hover. The visualization loads TopoJSON data from `https://d3js.org/us-10m.v1.json` and converts it to GeoJSON features using `topojson.feature`. It draws the map with `d3.geoPath` and applies a mesh via `topojson.mesh` to outline borders. The styling uses CSS for hover effects and stroke widths.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed