Skip to main content
100%

ICE8_CountryMap

✓ Published0🌍 Public
Ssrividya-bachina
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from ICE8_WorldMap

This example renders a choropleth-style map of the United States using React and SVG. It loads US state topology from a remote TopoJSON file via `d3.json`, then converts it to GeoJSON features and an interior mesh using `topojson.feature` and `topojson.mesh`. The map is drawn with `d3.geoPath` and the custom `geoAlbersUsaTerritories` projection, styling land areas cyan and state boundaries black, with a green hover effect on individual states.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes