Skip to main content
100%

Scatter Plot with Colour

✓ Published1🌍 Public
CChris Briggs
Last edited Nov 18, 2021
Created on Nov 18, 2021

This interactive scatter plot visualizes the Iris dataset, showing petal length against sepal width. Each of the 150 data points is rendered as a colored circle, with color encoding species type (setosa, versicolor, virginica) using a d3.scaleOrdinal with a categorical color range. Users can hover over any point to see its petal length value in a native browser tooltip. The visualization is built with React for component management and D3 v5 for scales, axes, and data loading via d3.csv, rendered as SVG with custom AxisBottom and AxisLeft components.

AI-generated description

A Scatter Plot based on Iris Data

MIT Licensed

Similar vizzes