🌍 Public
Viewing a saved revision (read-only)
f953152c1e4a4fbe8c1e82dcba400c2b
Scatter Plots with Color
This interactive scatter plot visualizes the Iris flower dataset, showing petal length against sepal width. Each point is colored by species using a categorical color scale, and hovering reveals a tooltip with the formatted petal length. Built with React and D3 v5, the visualization uses React components for axes and marks, with D3's `scaleLinear` and `scaleOrdinal` for positioning and coloring. SVG rendering handles the circles, while a custom tick formatter appends units to axis labels.
AI-generated descriptionA program that loads in the Iris data set and and uses React to render the data.