Reusable D3 Scatter Plot for IRIS
✓ Published0🌍 Public
This example presents the classic Iris dataset as an interactive scatter plot, mapping petal width and sepal length to the x and y axes while encoding species with distinct symbols. Built with D3.js v6, it uses a reusable scatter plot factory function that leverages `scaleLinear`, `scaleOrdinal`, and `symbol` APIs. Data is loaded from a CSV file, rendered as SVG paths, and includes labeled axes with a custom font.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed