Scatterplot 101
✓ Published2🌍 Public
This example displays the classic Iris dataset as a scatterplot, mapping petal length on the x-axis against sepal width on the y-axis to reveal species clustering. The visualization is rendered as an SVG using D3 v7, with data loaded asynchronously from a CSV file via the `csv` function. The code employs `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct linear scales and axes, then draws circles with fixed radius for each data point.
AI-generated descriptionMIT Licensed