Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars2🌍 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

Comments

Sign in to join the discussion.

MIT Licensed