Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Average Price of a House

Public visualization

Viewing a saved revision (read-only)

a8a1c1e4ef104eb1aa5180d196d5fdd6

Average Price of a House

0 stars0🌍 Public
BBashir Gulistani
Last edited Oct 22, 2024
Created on Oct 21, 2024

A choropleth map of the United States visualizes the average house price per state, colored on a blue quantized scale from $100,000 to $800,000. The map uses `d3.geoPath` with a `geoAlbersUsa` projection to render state boundaries from US Atlas TopoJSON data, and each state’s fill is determined by price data loaded from a CSV via `d3.csv`. Interactive tooltips display the state name and price on mouseover, with the map built entirely using the D3.js library and SVG rendering.

AI-generated description

An adaptation of the D3 Choropleth Example that uses vanilla JavaScript and adds a brushable histogram. Shows Unemployment rate by U.S. county, August 2016. Modified to add zooming, leveraging utilities from d3-rosetta.

MIT Licensed