Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth again

Public visualization

Fork of Choropleth again

1 star0🌍 Public
Ss_cural@coloradocollege.edu
Last edited May 13, 2024
Created on May 3, 2024
Forked from Choropleth

This example shows the spatial distribution of Airbnb listings across Chicago neighborhoods by overlaying red point markers onto a light blue choropleth map. A Mercator projection is created with `d3.geoMercator` and fitted to the map data using `fitSize`, while `d3.geoPath` renders the GeoJSON neighborhood boundaries. The listings are loaded from a CSV file and plotted as SVG circles, with their positions computed via the projection function. The visualization uses D3 v6 and relies on `Promise.all` to load both the GeoJSON and CSV data concurrently.

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