Skip to main content
100%

Scatter Plot With Menus

✓ Published0🌍 Public
33ssalunke
Last edited Feb 26, 2021
Created on Feb 25, 2021
Forked from Scatter Plot

This interactive scatter plot displays the Iris dataset, allowing users to explore relationships between sepal and petal measurements across different species. Two dropdown menus, built with React, control which variables are plotted on the x and y axes. Hovering over a species in the color legend highlights those data points while dimming others, a feature implemented using React's `useState` and `onMouseEnter` events. Points are rendered as SVG circles using `d3.scaleLinear` for axes and `d3.scaleOrdinal` for colors, with the data fetched from a CSV file via `d3.csv`.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes