Skip to main content
100%

Added timescales Quantatieve vs Categorical

✓ Published0🌍 Public
BBart van Pelt
Last edited Jan 23, 2023
Created on Jan 23, 2023

This interactive scatter plot visualizes Dutch housing market data from CBS Statline, comparing price indices, sales volumes, and average prices for new and existing homes from 2015 to 2022. Users can select any quantitative or categorical variable for the x- and y-axes via D3 menus. The visualization handles mixed data types using `d3.scalePoint` for categorical variables and `d3.scaleLinear` for quantitative ones, with smooth transitions via `selection.join` and `transition.attrTween`. Circles are drawn as SVG elements with animated radius growth on entry and exit.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Iris Dataset.

Using dataset from https://opendata.cbs.nl/statline/portal.html?_la=nl&_catalog=CBS&tableId=84064NED&_theme=384

Observations:

  • data available, but not in form direct usable by scatterplot
  • some data have 'missing' values - how to handle them
MIT Licensed

Similar vizzes