Quantatieve vs Categorical
This interactive scatter plot explores the relationship between quantitative and categorical variables from Dutch housing market data, showing how visual encoding changes based on data type. Users select columns for the x- and y-axes via dropdown menus, with categorical values positioned using `d3.scalePoint` and quantitative values using `d3.scaleLinear`. Points animate smoothly between configurations using `selection.join` with `transition`. The plot renders as SVG using D3 v7, drawing from CBS Statline data on house prices and sales volumes across new and existing properties.
AI-generated descriptionA 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