D3 Scatterplot III - reusable charts
✓ Published1🌍 Public
MMarvin Frede
Last edited Sep 29, 2023
Created on Sep 28, 2023
Forked from D3 Scatterplot II - margin convention, axis
This example demonstrates a reusable scatterplot component built with D3 v7, visualizing the Iris dataset. It renders circles scaled from petal length and sepal length measurements using `d3.scaleLinear` for x and y axes. The chart is implemented as a configurable function that accepts data, accessor functions, dimensions, and margins, then renders SVG circles, axis labels, and ticks. It loads data from a CSV URL via `d3.csv` and incorporates an HTML/CSS/SVG rendering pipeline.
AI-generated descriptionLearning about
- scaleLinear (and some other scale types)
- domain
- range
MIT Licensed