Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Chloropleth

Public visualization

Fork of Chloropleth

0 stars2๐ŸŒ Public
Bblanchestora@gmail.com
Last edited May 13, 2024
Created on May 2, 2024
Forked from Choropleth

This visualization displays a choropleth map of the United States using a hexgrid projection, with each state's fill color corresponding to a numerical value from the `StateFile.csv` data (ranging from 0 to 221, likely representing counts or frequencies). The map is rendered as an SVG using `d3.geoPath` with a `d3.geoEqualEarth` projection fitted to the canvas. The code loads GeoJSON map data and CSV statistics via `d3.json` and `d3.csv`, then maps state codes (ISO 3166-2) to values using a linear color scale that transitions from white to blue. Interactive mouseover effects are present but commented out.

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