🌍 Public
Viewing a saved revision (read-only)
e15888c47ccb485f9972b2f5ac38efc1
Task8_Tutorial4
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across various car makes, using the x-axis for horsepower, y-axis for torque, and bubble size for highway MPG. Each bubble is color-coded by make, with a tooltip revealing the make on hover and a legend displaying the MPG scale. Built with D3 v7, it uses `d3.scaleLinear` for axes and sizing, `d3.scaleOrdinal` for colors, and `d3.interpolateTurbo` for the color palette, rendering as an interactive SVG with smooth transitions. Data is loaded from a CSV file, and the chart includes axis labels, a title, and animated opacity on hover.
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.