🌍 Public
Viewing a saved revision (read-only)
18167b81df82464b861bbc6a65ee5f25
Scatter Plot with Color
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