Fork of 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. Red, semi-transparent circles encode each vehicle’s values, with axis labels and tick marks generated using d3.axisLeft and d3.axisBottom. The chart uses d3.scaleLinear with extent-based domains and nice rounding, while SVG rendering handles the presentation. A title and rotated axis label are added manually, with styling applied via CSS classes for ticks, labels, and the caption.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed