Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot displays the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG data set, with each circle representing a vehicle. It uses d3.scaleLinear to map the data to x and y scales, d3.axisBottom and d3.axisLeft to render the axes, and SVG circles for the points. The code loads the CSV with d3.csv, then renders the chart into a static SVG using margin-based layout.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed