🌍 Public
Viewing a saved revision (read-only)
872003d881c348fdbd01a3fca3122d28
Cars Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for various car models, with each point representing an individual vehicle. The visualization uses D3 v6 to load the auto-mpg dataset via `csv`, then employs `scaleLinear` for both axes with `extent` to determine domains. Axes are rendered using `axisBottom` and `axisLeft`, with the y-axis inverted to plot values correctly. The chart displays circles with a fixed radius, steelblue fill, and 50% opacity, while axis labels and title are added through SVG text elements styled via CSS.
AI-generated description