Skip to main content
100%

Activity6_Task4

✓ Published0🌍 Public
AAreeba Hassan
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This interactive bubble chart shows the correlation between average horsepower, torque, and highway MPG across different car makes. Each bubble’s position encodes horsepower (x-axis) and torque (y-axis), while its radius represents highway MPG, and its color represents the car brand. Hovering a bubble displays a tooltip with the make name. Built with D3 v7, the visualization uses `d3.scaleLinear` for axes and bubble sizing, `d3.interpolateTurbo` for the color scale, and SVG circles with mouse event handlers for interactivity. Legend circles and labels clarify the MPG scale.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes