Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
JJohn Patrick Banas
Last edited Sep 11, 2021
Created on Sep 11, 2021

This interactive scatter plot displays the Iris flower dataset, allowing users to compare any two attributes by selecting them from dropdown menus for the X and Y axes. The visualization updates dynamically, with axis labels and scales recalculating to reflect the chosen measurements. Built with React and D3 v5, it uses `scaleLinear` and `extent` to derive scales, renders SVG circles for each data point, and organizes its code into reusable components for axes, marks, and dropdowns. The data is loaded from a CSV file via D3’s `csv` function.

AI-generated description

Forked from branch Stylized Bar Chart, but with data about Irises from curran's github gist

MIT Licensed

Similar vizzes