Skip to main content
100%

Scatter Plot with

✓ Published0🌍 Public
FFAN CHI YU(范紀予)
Last edited Oct 16, 2022
Created on Oct 16, 2022

This interactive scatter plot visualizes the Iris dataset, allowing exploration of relationships between sepal and petal measurements. Users select variables for the X and Y axes from dropdown menus, which dynamically update the scales and axis labels. The visualization uses D3 v5 for scaling, axis rendering, and data mapping, with React managing state and composing SVG elements. Each data point is rendered as an SVG circle with a tooltip showing its value. The code leverages `d3.scaleLinear`, `d3.extent`, and `d3.format` for axis tick formatting, while `AxisBottom` and `AxisLeft` components generate the axes.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes