Quantatieve vs Categorical
✓ Published0🌍 Public
BBart van Pelt
Last edited Jan 31, 2023
Created on Jan 21, 2023
An interactive scatter plot compares food products by quantitative attributes like carbohydrates, fat, and calories, sourced from koolhydraten.nl. Dropdown menus let users switch the x- and y-axis variables or filter by product, and the plot animates transitions between selections using D3 v7 transitions. The visualization uses `scaleLinear` and `scalePoint` to handle quantitative and categorical dimensions, rendered as SVG circles with tooltips showing product details.
AI-generated descriptionExercise
- Extracted data from https://www.koolhydraten.nl/ into csv file
- Using csv file for scatter plot
Added tooltip based on:
MIT Licensed