🌍 Public
Viewing a saved revision (read-only)
eb37eb4f465f4742b4427f90d0e01a49
Fork of Reusable scatter plot with different symbols
This scatter plot visualizes the Iris dataset, mapping petal width and sepal length on the x and y axes. D3’s `scaleLinear` and `scaleOrdinal` functions position the points and assign distinct symbol shapes to each iris species. Using `d3.symbol` with a `symbolGenerator`, the chart renders three different marker types, while `axisLeft` and `axisBottom` add labeled scales. The code imports from the D3 v6 library and loads data from a remote CSV URL.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.