Map Lab
Map Lab
Three interactive maps built from Chapter 9's and Chapter 7's pipelines: store access by census tract, a store-count radius tool, and the taxi-zone change around New York's congestion toll by hour.
The chapters draw their maps once, in a fixed view, to make one point each. The Map Lab gives you the same data with the controls left in. Pick a metro, switch store chains off, filter tracts by income, drop a point and count the stores around it, or step the congestion-toll map hour by hour.
Everything here was computed at build time with DuckDB's spatial and H3 extensions and shipped as GeoJSON. Nothing runs in DuckDB in your browser. No DuckDB 2.0 WebAssembly build has been published yet, so the radius tool sums precomputed hexagon counts in JavaScript instead of running a spatial query, and it says so on the page. How these maps were built shows the three spatial queries behind them, with their results and checks.
Data: public/data/maplab/ and public/data/congestion-pricing/maplab_zone_change.geojson. Pipeline: maplab/pipeline/.