🌍 Public
Viewing a saved revision (read-only)
bf0e0646d3594b2dba5a930cd3111d63
Fork of Reusable scatter plot with different symbols
NNikitha123171
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Reusable scatter plot with different symbols
This fork of a reusable D3 scatter plot visualizes the Iris dataset, mapping petal width and sepal length along the x- and y-axes. It uses `d3.scaleOrdinal` and `d3.symbol` to assign distinct geometric symbols to each iris species, rendering them as SVG paths. The plot also includes `d3.axisLeft` and `d3.axisBottom` for labeled axes. The code is built as a modular `scatterPlot()` function with configurable accessors, demonstrating a reusable chart pattern in D3 v6.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.