Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE8 USA Map

Public visualization

Fork of ICE8 USA Map

0 stars2🌍 Public
NNaimisha-M
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from ICE8 USA Map

This example renders a choropleth-style map of the United States using React and D3 v5. It displays land areas as red paths, state borders as green strokes, and a blue circle mark, all projected with the Albers equal-area projection (_geoAlbers_). The map loads TopoJSON data from the us-atlas states-10m.json dataset via _d3.json_, then converts it to GeoJSON features using the _topojson.feature_ and _topojson.mesh_ functions. The SVG output is generated through _d3.geoPath_ within a React component.

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