Fork of Fork of Customizing Axes
This scatterplot displays the relationship between vehicle weight and model year for cars in the auto-mpg dataset, with each circle representing a car and its position determined by weight (x-axis) and year (y-axis). The chart uses D3 v5’s `scaleLinear` for both axes and customizes axis appearance with `axisLeft` and `axisBottom`, removing domain lines and adjusting tick styling. Data is loaded from a remote CSV file, processed by converting string values to numbers, and rendered as semi-transparent SVG circles. The visualization demonstrates axis customization techniques like tick formatting, tick sizes, and rotated labels.
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.