Scatterplot with Color
✓ Published1🌍 Public
This interactive scatterplot visualizes the Iris dataset, plotting petal length against sepal width. Each flower specimen appears as a circle colored by species using d3.scaleOrdinal with a categorical color palette. The visualization is built with React and D3 v7, using SVG rendering for precise control. Axes are generated with d3.scaleLinear, and circles include native SVG `<title>` elements providing tooltips on hover. Data is loaded asynchronously from a CSV file using d3.csv, with numeric parsing applied to measurement columns.
AI-generated descriptionA scatterplot of the Iris dataset
MIT Licensed