Skip to main content
100%

Scatterplot 101

✓ Published2🌍 Public
AAlex
Last edited Apr 7, 2023
Created on Apr 6, 2023
Forked from HTML Starter

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 description
MIT Licensed

Similar vizzes