Fork of Activity6_Question4
✓ Published0🌍 Public
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle's position encodes horsepower and torque, while its radius represents highway MPG, and color distinguishes the manufacturer. The visualization includes interactive tooltips that display the car make on hover. Built with D3 v7, the code uses `d3.csv` for data loading, `d3.scaleLinear` for axes and sizing, `d3.scaleOrdinal` with `d3.interpolateTurbo` for colors, and SVG for rendering with mouse event handlers.
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