Activity6_Task4
✓ Published0🌍 Public
This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each bubble’s position encodes horsepower (x-axis) and torque (y-axis), while its size and color represent highway MPG and car make, respectively. Built with D3 v7, it uses `d3.scaleLinear` for axes and bubble radius, `d3.scaleOrdinal` for color encoding, and `d3.interpolateTurbo` for the palette. Hovering reveals a tooltip with the make name, and a legend explains bubble size values.
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