Cars Scatter Plot
✓ Published2🌍 Public
This scatter plot visualizes the relationship between horsepower and weight for cars from the UCI Machine Learning Repository’s Auto MPG data set. Red, semi-transparent circles mark each vehicle, with axes labeled and a title displayed above the plot. The code uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisBottom and d3.axisLeft to render tick marks and gridlines. SVG elements are appended and positioned via d3-selection, with data parsed into numeric values before rendering.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed