Skip to main content
100%

Cars Scatter Plot

✓ Published1🌍 Public
LLonwabo11
Last edited May 19, 2019
Created on May 19, 2019
Forked from Cars Scatter Plot

This scatter plot visualizes car data from the UCI Machine Learning Repository’s Auto MPG dataset, displayed as red semi-transparent circles on an SVG canvas. The chart maps quantitative attributes to the x- and y-axes using D3 v5’s `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` functions, with labeled tick marks and an axis label. Data is loaded via `d3.csv` and rendered with `select` and `svg` elements, styled through CSS for opacity and typography. The code sets a fixed 960×500 pixel SVG and uses only the imported D3 modules for scaling and axes.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes