Skip to main content
100%

Menu with Scatter plot

✓ Published1🌍 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.

MIT Licensed

Similar vizzes