Activity_6 Q_3
✓ Published0🌍 Public
This scatter plot visualizes the relationship between city MPG and highway MPG across vehicle classes, with each point representing a car model and colored by its class. The chart uses D3 v6’s `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` to map data coordinates and render the axes. Vehicle class determines the color through the `schemeCategory10` palette, while tooltips display the make, model, year, and class. The data is loaded via `d3.csv` from a GitHub repository, and the visualization is rendered as an SVG.
AI-generated descriptionMIT Licensed