Skip to main content
100%

Scatterplot

✓ Published0🌍 Public
MMark Jones
Last edited Dec 5, 2019
Created on Dec 4, 2019
Forked from Scatterplot

This scatterplot displays the relationship between miles per gallon and horsepower for vehicles in the auto-mpg dataset, loaded via d3.csv. The React component renders SVG circles for each data point using d3.scaleLinear for both axes. An interactive dropdown lets the user switch between years, though the code only changes state without filtering the visualized data. Axis components construct tick marks and labels, while the Marks component maps each row’s mpg and horsepower values to circle positions.

AI-generated description

Show the top 15 country populations over a range of years. Allow the user to select the year to view.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes