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 dataset. Each red, semi-transparent circle represents a car, with its position determined by the car’s horsepower on the x-axis and weight on the y-axis. The visualization uses d3.csv to load the data, then leverages d3.scaleLinear, d3.extent, d3.axisBottom, and d3.axisLeft to construct the axes and scales. The SVG rendering includes grid lines and labeled axes, with the chart drawn within specified margins using D3’s selection and data-join methods.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed