Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Shark Tank Chloropleth

Public visualization

Viewing a saved revision (read-only)

89ade6612de64964b1b1b86315d8e402

Fork of Shark Tank Chloropleth

0 stars0🌍 Public
HHOURPRIMERA@GMAIL.COM
Last edited May 13, 2024
Created on May 13, 2024

This fork of a Shark Tank choropleth visualizes the ratio of “Num” to population for each U.S. state, using a linear color scale from white to blue. It renders an SVG map via `d3.geoMercator` and `d3.geoPath`, loading GeoJSON map data and CSV statistics through `d3.json` and `d3.csv`. The code uses `d3.scaleLinear` for color mapping and joins paths with `selectAll` and `join` for drawing.

AI-generated description

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

See also React Starter.