Skip to main content
100%

Tutorial3.1_Activity6

✓ Published0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example shows a scatter plot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with species indicated by point shape. The visualization uses a categorical color-free shape legend to identify the three species, with axes labeled by the corresponding measurement variables. Built with D3 v7, the code leverages `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft`/`axisBottom` from the `d3` module, while fetching and parsing the CSV data via `csvParse`. The rendering uses a custom `scatterPlot` function that joins SVG path elements with `symbolsFill` shapes.

AI-generated description
MIT Licensed

Similar vizzes