act8_task4
✓ Published0🌍 Public
This bubble chart visualizes the relationship between average horsepower, torque, and highway MPG across various car makes. Each bubble's x-position maps to horsepower, its y-position to torque, while its size and color represent highway MPG and the car manufacturer, respectively. The visualization includes a tooltip on hover, a legend for MPG values, and a color-coded legend for makes. Built with D3 v7, the code uses `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.interpolateTurbo` to render interactive SVG elements from the provided CSV data.
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