Skip to main content
100%

Scatter Plot with Color

✓ Published1🌍 Public
NNikhil Reddy Manda
Last edited May 15, 2021
Created on May 15, 2021

This scatter plot visualizes the Iris dataset, plotting petal length against sepal width. Each point is colored by species using a D3 ordinal scale mapping to three distinct hues, with SVG circles rendered as marks. The React app uses D3’s scaleLinear for axes, scaleOrdinal for color, and format for tick labels, while tooltips reveal exact values on hover. The plot integrates custom axes and marks components within a single SVG canvas, demonstrating a clean, reusable React-D3 pattern.

AI-generated description

Scatter Plot with Color

MIT Licensed

Similar vizzes