Activity 6_Task 4
✓ Published0🌍 Public
This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for 30 car makes, using circle size to encode fuel efficiency and color to distinguish brands. It loads data from a CSV and renders SVG circles positioned by linear scales, with tooltips showing the make on hover. The visualization uses D3 v7 APIs like `d3.csv`, `scaleLinear`, `scaleOrdinal`, `axisBottom`, `axisLeft`, and `interpolateTurbo` for the color palette, alongside a legend for bubble sizes and brand colors.
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