🌍 Public
Viewing a saved revision (read-only)
b5153970342a4d3ba06a6b7850428258
Scatter plot with colour
This interactive scatter plot visualizes the Iris dataset, letting users explore relationships between sepal and petal measurements. Dropdown menus select which attributes appear on the x and y axes, while color distinguishes the three iris species. The visualization uses React with functional components, D3 v5 scales including `scaleLinear` and `scaleOrdinal` for mapping data to positions and colors, and renders marks as SVG circles. Axes are custom components built from D3 tick values, and the data loads asynchronously from a CSV file using `d3.csv`.
AI-generated descriptionA Scatter Plot of the Iris dataset