🌍 Public
Activity_6_Task 4
This bubble chart displays the correlation between horsepower, torque, and highway MPG for various car makes, using circle size to represent MPG and color to distinguish manufacturers. The visualization includes a tooltip on hover and a legend for both the size scale and color groups. Built with D3 v7, the chart uses `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` for color mapping, and SVG rendering with animated transitions for tooltips.
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
Comments
Sign in to join the discussion.