Cars Scatterplot
This scatterplot visualizes the relationship between engine displacement and fuel efficiency for various car models, with each circle representing an individual vehicle. The D3 v5 code uses `d3.scaleLinear` for the x-axis and `d3.scalePoint` for the y-axis, along with `d3.axisBottom` and `d3.axisLeft` to render the axes. The data is loaded from a CSV file (auto-mpg.csv) sourced from the UCI Machine Learning Repository, and the circles are styled with a steelblue fill and opacity. The chart also includes custom axis labels and formatting.
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. It also demonstrates customization of D3 axes.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.