Skip to main content
100%

Exersice Episode 8 - Scatter plot

✓ Published1🌍 Public
BBart van Pelt
Last edited Jan 16, 2023
Created on Jan 14, 2023
Forked from D3 Scatter Plot

This scatter plot visualizes the relationship between calories (kcal) and fat content (vet) for a dataset of Dutch food products, with each point representing a product from a CSV file. The plot uses D3 v6's `scaleLinear` for both axes and employs the `csv` function to parse data from the external file. Points are rendered as SVG circles, with axes generated using `axisLeft` and `axisBottom`. The code reads product data from 'koolhydrate.csv', which includes columns for carbohydrates, fat, calories, product name, and unit.

AI-generated description

Exercise

MIT Licensed

Similar vizzes