🌍 Public
Viewing a saved revision (read-only)
72d71042ed084ddeaa2795e12a0619e6
Scatterplot practice
This scatterplot displays the relationship between sepal length and petal length for the Iris dataset, with points rendered as SVG circles. Using D3 version 7, the visualization loads data from a CSV file, parses it with `csvParse`, and maps the measurements onto linear scales via `scaleLinear` and the `extent` function. Axes are generated through reusable `axisLeft` and `axisBottom` methods, while the circles are positioned using the `attr` method to set `cx` and `cy` values. The species information is present in the data but not encoded in the visualization.
AI-generated description