Skip to main content
100%

Cars Scatter Plot

✓ Published2🌍 Public
AAmar Nath Yogi
Last edited Jan 21, 2020
Created on Jan 16, 2020

This scatter plot displays the relationship between horsepower and weight for a dataset of cars, with each circle representing a vehicle. The chart uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to map the quantitative scales and render axes with gridlines. Data is loaded via `csv` from an external auto-mpg dataset and drawn as SVG circles with opacity and hover effects. The code also applies `extent` and `nice` to domain calculations, and styles the visualization with custom CSS for interactive feedback.

AI-generated description

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

MIT Licensed

Similar vizzes