Skip to main content
100%

Scatterplot practice

✓ Published2🌍 Public
SSubhendu Karmakar
Last edited Jan 23, 2024
Created on Jan 23, 2024

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

Similar vizzes