Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatterplot

Public visualization

Viewing a saved revision (read-only)

723410a91e0a4f7e825e6953816171d0

Cars Scatterplot

0 stars1🌍 Public
Mmla341
Last edited Jun 21, 2020
Created on Jun 21, 2020
Forked from Scatterplot

This scatterplot visualizes the relationship between car weight and miles per gallon (MPG) for vehicles from the UCI Auto MPG dataset. Each circle represents a car, with weight plotted on the x-axis and MPG on the y-axis, revealing a negative correlation. The visualization uses D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom` to construct the axes, while data is loaded via `csv` and rendered as SVG circles with gridlines. Axis labels and a title are added using D3 selections.

AI-generated description

*Per 100,000 habitants
This scatterplot shows the relationship between car weight and car mpg. Data was retrieved from UCI machine learning repository: Auto MPG Data.