Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Aussie Toilet Data

Public visualization

Viewing a saved revision (read-only)

12a4f9dfb3074079ac245713a2aadeb2

Aussie Toilet Data

0 stars1🌍 Public
SStuart Sessions
Last edited May 12, 2024
Created on May 7, 2024
Forked from Fork of Choropleth

This visualization maps public toilet density across Australian states using a choropleth of state polygons. It uses `d3.geoMercator` for projection, `d3.geoPath` for rendering, and a linear `d3.scaleLinear` color scale from white to blue to indicate toilet counts per state. Interactive features include `d3.zoom` for panning, tooltips on mouseover, and a click-to-zoom that rescales the view. The map data comes from a states GeoJSON, while toilet counts are derived from a CSV, and state-level sub-maps (suburbs) are fetched from a secondary GeoJSON source.

AI-generated description

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

See also React Starter.