🌍 Public
Viewing a saved revision (read-only)
3cc9499aadeb4684a9181fb9dab67f18
Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for cars from the Auto MPG dataset. The code uses D3 v5's `scaleLinear`, `axisBottom`, and `axisLeft` to render axes, and draws semi-transparent red circles via SVG. A title and axis labels are added manually, while the data is loaded from a CSV file using D3's `csv` function. The chart is rendered on a blank SVG canvas with margins and tick marks.
AI-generated descriptionThis 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.