Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

279b00a8a72141b39072d2d04fca069c

Scatter Plot with Menus

0 stars0🌍 Public
GGokulkrishnan1996
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from Scatter plot

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements through dropdown menus that select the x and y axes. Built with React and D3 v5, the SVG rendering uses `scaleLinear` for axes, with a `Dropdown` component managing the attribute selections. The data is loaded via `d3.csv` from a remote source, with circles colored uniformly and tooltips displaying the x-axis value in a compact format. The code demonstrates coordinated React state management with D3's functional programming style.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.