q-9
✓ Published0🌍 Public
This interactive bubble chart visualizes the correlation between torque, horsepower, and highway MPG for various car makes. Each circle’s position encodes horsepower on the x-axis and torque on the y-axis, while its radius represents highway MPG and color distinguishes car brand. The visualization includes an interactive tooltip on hover and a legend for both bubble size and color. Built with D3 v7, it uses `d3.csv`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.interpolateTurbo` to render SVG elements with mouse event handlers. Data comes from the provided `bubblechart.csv` file.
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.
MIT Licensed