🌍 Public
Viewing a saved revision (read-only)
d6ff25315e104d64acd9a1e4d0fac8b0
Activity 6_task 4
This visualization shows the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble colored by manufacturer and sized by fuel efficiency. It uses d3.csv to load the data, then renders an SVG scatterplot with d3.axisBottom and d3.axisLeft. Bubble radius is mapped through a linear scale, while color uses d3.scaleOrdinal with d3.interpolateTurbo. Interactive tooltips appear on mouseover, and a legend encodes MPG values with reference circles and labels.
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.