Skip to main content
100%

Untitled

✓ Published1🌍 Public
Iillus0r
Last edited Feb 6, 2020
Created on Feb 5, 2020
Forked from Untitled

A choropleth map of the United States visualizes state-level data from a CSV file, with each state filled according to a linear color scale (yellow to red) based on the `prem_an` attribute. The map also plots doughnut markers at state centroids, showing state abbreviations, and includes a partially commented-out section for city locations with circle sizes proportional to years lived. Built with D3 v3, the code uses `d3.geo.albersUsa()`, `d3.geo.path()`, and SVG paths rendered from GeoJSON, merging CSV attributes into the map's feature properties before binding data to the paths.

AI-generated description
MIT Licensed

Similar vizzes