Cars Scatter Plot
✓ Published1🌍 Public
This scatter plot displays the relationship between car weight and model year, with each point representing a vehicle from the auto-mpg dataset. The visualization uses D3.js v5 to render SVG circles with red, semi-transparent fill, mapping weight to the x-axis and year to the y-axis. Axes are customized using `d3.axisLeft` and `d3.axisBottom`, while scales are created with `d3.scaleLinear` and domains set via `d3.extent`. Data is loaded asynchronously from a CSV file using D3’s `csv` method, with numeric fields parsed for plotting.
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.
MIT Licensed