Activity8_Task4
✓ Published0🌍 Public
This interactive bubble chart visualizes the relationship between average horsepower, torque, and highway MPG across vehicle makes, with circle position encoding horsepower and torque on linear scales and bubble size representing MPG via a d3.scaleLinear. A tooltip displays the make on hover, while the dataset from bubblechart.csv is loaded using d3.csv. Color mapping uses d3.scaleOrdinal with d3.interpolateTurbo to distinguish manufacturers, and the SVG rendering includes custom legends for both bubble size and color categories.
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