Skip to main content
100%

[VizStudy]Week7: Scatter plot with color legend

✓ Published0🌍 Public
Hhotdoujiang
Last edited Oct 28, 2019
Created on Oct 28, 2019

This interactive scatter plot visualizes the Iris Dataset, plotting petal length against sepal width to reveal species clusters. The visualization uses d3.scaleLinear for axes and d3.scaleOrdinal with a three-color palette to distinguish Iris species. Built with React and rendered as SVG, the plot encodes species through color, with each circle representing a flower sample. Hovering over a point displays its precise value via an SVG title tooltip. The code imports functions like useData for CSV loading and uses d3's extent for domain calculation, with axis labels styled using the Poppins font.

AI-generated description

A scatter plot of The Iris Dataset.

Data Visualization study followin Curran.

MIT Licensed

Similar vizzes