Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between car weight and fuel efficiency (MPG) using the Auto MPG dataset from UCI. Each circle represents a car, positioned by weight on the x-axis and miles per gallon on the y-axis, with radius proportional to weight. The code uses d3.csv to load data, d3.scaleLinear for scales, and d3.axisLeft and d3.axisBottom to render axes with gridlines. SVG circles are drawn with fixed blue fill and 30% opacity, while axis labels and tick formatting come from D3 v5’s selection and format utilities.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed