Activity6_Task4
✓ Published0🌍 Public
This scatter plot visualization shows the correlation between average horsepower, torque, and highway MPG across different car makes, with each bubble representing a make and its size encoding the highway MPG value. The chart uses D3.js v7 to render an SVG with linear scales for the x and y axes, a third scale for bubble radius, and an ordinal color scale with interpolated turbo colors to distinguish makes. Interactive tooltips display the make name on hover, while a legend explains both the bubble size encoding and the 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