Cars Scatter Plot
✓ Published1🌍 Public
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 descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed