Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
DDannie2020
Last edited Sep 14, 2020
Created on Sep 14, 2020
Forked from Making a Bar Chart

This scatter plot shows the relationship between horsepower and weight for cars from the auto-mpg dataset, with each red semi-transparent circle representing a vehicle. The D3 v5 code uses `csv` to load the external data, `scaleLinear` for both axes, and `extent` to set domains. Axes are custom drawn with `axisBottom` and `axisLeft`, including grid lines and rotated labels, while the SVG rendering applies a simple circle radius and styling.

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. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes