Skip to main content
100%

Scatter Plot - React, D3

✓ Published0🌍 Public
NNelson M
Last edited Nov 23, 2023
Created on Nov 23, 2023

This scatter plot visualizes the Iris dataset, showing petal length against sepal width for three plant species distinguished by color. The plot uses React components to render SVG elements, with D3's scaleLinear and scaleOrdinal handling axes and color encoding. Axis ticks are generated from the scales, and hovering over a circle reveals its exact petal length via a native SVG <title> tooltip. The color legend displays the species categories, and the chart includes D3-driven axis labels and margins.

AI-generated description

A scatter plot of The Iris Dataset with color legend.

MIT Licensed

Similar vizzes