Skip to main content
100%

Cars Scatter with Menu

✓ Published1🌍 Public
Mmamaycotte
Last edited Aug 19, 2019
Created on Aug 19, 2019

This interactive scatterplot displays the relationship between horsepower and weight for cars in the auto-mpg dataset. Users select a category from the dropdown menu, though the code currently renders only static axes and circles. Built with D3 v5, it uses `scaleLinear`, `axisBottom`, and `axisLeft` to create grid lines, while the `dropdownMenu` module generates the select element. Data loads from a CSV via `csv()`, with SVG circles positioned by scaled values.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.

MIT Licensed

Similar vizzes