Skip to main content
Public

Share visualization

Loading preview…

ICE 8 - 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

ICE 8 - Country Map

13
DDaniel Mata
Last edited Apr 3, 2022
Created on Apr 1, 2022
Forked from Hello VizHub

This example displays a choropleth map of the United States, rendering each state as a green SVG path against a light blue background to represent the ocean. The map is generated using React and D3 v4, employing `d3.geoPath` with a `d3.geoAlbersUsa` projection to position states accurately, including Alaska. State boundaries are drawn from TopoJSON data loaded from the us-atlas package via `topojson.feature`. The SVG is styled with a stroke for borders and a consistent fill color for all states.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed