Activity6_q3
✓ Published1🌍 Public
This scatter plot visualizes the relationship between horsepower and miles per gallon (MPG) for vehicles in the Auto MPG dataset, with points colored by region of origin (USA, Europe, Japan). It uses d3.csv to load the data, d3.scaleLinear for positioning both axes, and d3.scaleOrdinal for categorical color mapping. The SVG rendering includes axis labels, a legend, and circles with opacity, all generated using D3 v7 selections and the axisBottom and axisLeft components.
AI-generated descriptionMIT Licensed