🌍 Public
Viewing a saved revision (read-only)
1ced929f3ad74fcb9cae81d23bd43f72
Activity 6 tutorial 4
This bubble chart shows the correlation between average horsepower, torque, and highway MPG across various car makes, using bubble size to encode MPG and color to distinguish makes. Built with D3 v7, the visualization uses `scaleLinear` for the x/y axes and bubble radius, `scaleOrdinal` for color mapping, and `interpolateTurbo` to generate a color palette. It reads from a local CSV file, renders as SVG, and includes interactive tooltips on mouseover, plus a legend showing the MPG-to-radius scale.
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.