🌍 Public
Viewing a saved revision (read-only)
147d11fd330d48d1bda12acd20d12bce
Activity6-Task4
This bubble chart visualizes the relationship between average horsepower, torque, and highway MPG for various car manufacturers. Each circle represents a make, positioned by its horsepower (x-axis) and torque (y-axis), with the circle's size scaled to its highway MPG value and its color mapped by make. Built with d3.v7, the SVG rendering uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color, and `d3.interpolateTurbo` for the color palette. Interactive tooltips show the make name on hover, and a legend displays MPG values.
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.