Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Menu with Scatter plot

Public visualization

Viewing a saved revision (read-only)

6c3fdaefa35248458899b785a8cb002a

Menu with Scatter plot

0 stars1🌍 Public
EElliot Hill
Last edited Jul 9, 2021
Created on Jul 9, 2021
Forked from Scatter plot

This interactive scatter plot displays the Iris dataset, letting users choose which flower measurements to plot on the x- and y-axes via dropdown menus. The SVG renders circles for each data point, with axes generated using custom React components that call `xScale.ticks()` and `yScale.ticks()`. The chart uses D3’s `scaleLinear` and `extent` to compute domains and ranges, while the code fetches data with `d3.csv`. Axis labels update dynamically based on the selected measurement attributes from the dataset.

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.