Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

London Airbnb Person Cap vs Price w/ Color

Public visualization

London Airbnb Person Cap vs Price w/ Color

0 stars1๐ŸŒ Public
MMatt Hagger
Last edited Oct 22, 2025
Created on Oct 22, 2025

This visualization uses a square-binned density plot to show the relationship between Airbnb listing person capacity and price in London, with color intensity (blue to yellow) representing the density of listings at each price level for each capacity. Red horizontal lines indicate the average price for each capacity group. The chart is rendered using D3.js v7 within a React 19 application, employing `scaleLog` for the price axis, `scaleBand` for capacity, and a custom pixel-by-pixel density calculation with `interpolateRgb` for the color scale.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed