Cars Scatter Plot
This scatter plot visualizes the relationship between vehicle weight and horsepower, with each car represented as a semi-transparent red circle. The data originates from an auto-mpg CSV file, loaded via `csv()`, with numeric fields parsed and scales computed using `scaleLinear()`, `extent()`, and `nice()`. D3’s `axisBottom()` and `axisLeft()` render labeled axes with customized tick styling. SVG circles are positioned via `cx` and `cy` attributes, and the chart includes a title, axis labels, and rotated y-axis text.
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.