Skip to main content
100%

scatterplot with menus

✓ Published1🌍 Public
BBlake McCarty
Last edited May 14, 2022
Created on May 13, 2022
Forked from scatterplot

This interactive scatterplot displays the Iris dataset, allowing users to explore relationships between sepal and petal measurements by selecting which attribute appears on each axis via two dropdown menus. Built with React and D3 v7, the visualization uses `scaleLinear` and `extent` to compute scales, renders SVG circles for data points, and includes custom `AxisBottom` and `AxisLeft` components for tick marks and labels. The `useData` hook loads the CSV data with `d3.csv`, and the `Marks` component adds tooltip titles for each point.

AI-generated description

Half of the smiley HTML page.

MIT Licensed

Similar vizzes