🌍 Public
Viewing a saved revision (read-only)
14f0604ff3d34415a927953557e4245c
Activity6-Tutorial4-Rashmitha
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble’s position encoding horsepower (x-axis) and torque (y-axis), while its size and color represent highway MPG values. Built with D3 v7, the SVG rendering uses `d3.scaleLinear` for axes and bubble radius, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color mapping, and `d3.csv` to load the data. Interactive tooltips appear on mouseover via D3 event handlers, and a legend encodes bubble size with labeled circles and color with small dots for each make.
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.