🌍 Public
Viewing a saved revision (read-only)
ed57f4d61fba4e259200037417d55b5e
Activity06 Question 3.6
This scatter plot visualizes the relationship between horsepower and highway MPG for vehicles, with each point colored by the vehicle's make. The visualization uses D3 v6 to load CSV data, apply linear scales for both axes, and render the plot as an SVG. Users can hover over individual points to see the make via a tooltip, which also highlights the selected point with a black border. The chart includes labeled axes for Highway MPG and Horsepower.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.