Skip to main content
100%

Fork of Polished Scatter Plot with Menus

✓ Published0🌍 Public
TTsaiJie
Last edited May 3, 2021
Created on May 3, 2021

This scatter plot visualizes the Iris dataset, displaying sepal and petal measurements as individual circles. Users can select any of the four measurement attributes or species for the X and Y axes via dropdown menus built with ReactDropdown, with axis labels updating accordingly. The visualization uses React hooks (useState, useEffect) to manage state and load data via d3.csv, while d3.scaleLinear, d3.extent, and d3.max power the SVG rendering. Axes and marks are custom React components, with d3.ticks generating tick marks and native SVG <title> elements providing hover tooltips formatted using d3.format.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes