Cars ScatterPlot
✓ Published1🌍 Public
This visualization displays a scatterplot of cars, mapping horsepower on the x-axis against weight on the y-axis, with each vehicle represented by a semi-transparent red circle. The chart includes labeled axes, tick marks, and a title, providing a clear view of the correlation between these two attributes. The code uses D3 v7, leveraging `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct the scales and axes, while `csv` loads the auto-mpg dataset from a remote URL. SVG circles are appended and positioned using the scaled x and y values, with styling applied via external CSS.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed