Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository's Auto MPG data set. Each red, semi-transparent circle represents a car, with its position determined by the d3.scaleLinear scales mapping horsepower and weight to the SVG canvas. The code uses d3.select, d3.csv, d3.extent, d3.axisBottom, and d3.axisLeft to load the data, compute domains, and render axes with grid lines. Axis labels and a title are added using SVG text elements.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed