Dpka-resuablescatter
✓ Published0🌍 Public
A reusable scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis, petal length to the y-axis, and encoding species with distinct shapes. Built with D3 v7, it uses `scaleLinear`, `scaleOrdinal`, and `symbolsFill` to position markers and generate symbol paths. A shape legend, drawn via a custom module, labels the three species, while axis components are modularized for reuse. Data loads asynchronously from a CSV file using `fetch` and `csvParse`.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also:
MIT Licensed