Skip to main content
100%

Cars Scatter Plot

✓ Published2🌍 Public
MMartin Christensen
Last edited Dec 29, 2019
Created on Dec 29, 2019
Forked from Scatter Plot

This scatter plot displays the relationship between vehicle weight and horsepower using data from the auto-mpg dataset. Circles are plotted on a linear scale for both axes, with semi-transparent steelblue fill to reveal overlapping points. The visualization includes labeled axes, tick marks that extend across the plot, and a title, all rendered as SVG. The code uses D3 v5 methods including `csv` for data loading, `scaleLinear` for scales, `axisBottom` and `axisLeft` for axes, and `selectAll` with data joins to create the circles.

AI-generated description
MIT Licensed

Similar vizzes