Flora's Scatter Plot with 1 .js
✓ Published0🌍 Public
This example visualizes the classic Iris Dataset as a scatter plot, mapping sepal length to the x-axis, petal length to the y-axis, and species to color via an ordinal color scale. It features labeled axes and a custom color legend generated with D3’s `scaleOrdinal` and `schemeCategory10`. The data loads from a CSV file using `d3.csvParse`, while reusable modules handle axes, legends, and the plot itself, leveraging `selection.join` for efficient SVG updates.
AI-generated descriptionA scatter plot of the Iris Dataset with a color legend.
See also:
MIT Licensed