Skip to main content
100%

example of scatter plot

✓ Published1🌍 Public
Zzjutkarma
Last edited Apr 19, 2022
Created on Apr 19, 2022

This scatter plot visualizes the relationship between horsepower and weight for various car models, with each circle representing an individual car. The plot uses D3’s `scaleLinear` for both axes and renders circles via SVG, with axes customized using `axisBottom` and `axisLeft`, including tick lines and labels. Data is loaded from a CSV file containing auto-mpg statistics, and the visualization distinguishes overlapping points through semi-transparent red circles. The chart title is displayed at the top, and all styling is handled through external CSS.

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.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes