🌍 Public
Viewing a saved revision (read-only)
698e37c4c1334d29ac2611c6dd2f25ac
DV TASK-8(4)
This interactive D3.js bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle represents a car brand, positioned by its horsepower (x-axis) and torque (y-axis), with the circle's radius scaled to its highway MPG value using `d3.scaleLinear`. The color of each bubble is assigned via `d3.scaleOrdinal` and the `d3.interpolateTurbo` color scheme to distinguish makes. Hovering over a bubble triggers tooltips that display the make name. The SVG rendering includes axes, labels, and a legend for the MPG scale, all configured with `d3.axisBottom` and `d3.axisLeft`.
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.