Activity6_Task 3 Q1
✓ Published1🌍 Public
This scatter plot visualizes the relationship between city and highway MPG for individual cars, with each point colored by vehicle class and tooltips identifying make, model, and year. The code loads CSV data from a GitHub repository, uses d3.scaleLinear for both axes, and d3.scaleOrdinal with schemeCategory10 for color encoding. SVG circles are rendered with d3 selection joins, while axisLeft and axisBottom generate the labeled axes. A legend maps class names to colors, and an HTML title supports the chart.
AI-generated descriptionMIT Licensed