Activity6_Task4
✓ Published1🌍 Public
This bubble chart visualizes the correlation between average horsepower (x-axis), torque (y-axis), and highway MPG (bubble size and color) for 31 car makes. Each car brand is represented by a colored circle, with turbo color interpolation mapping distinct hues to each make. The D3.js v7 code loads CSV data, uses `d3.scaleLinear` for axes and bubble radius, and `d3.scaleOrdinal` for color assignment. Interactive tooltips reveal the car make on hover, while a legend displays MPG value scaling. The visualization is rendered as an SVG with smooth opacity transitions on mouse interactions.
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