Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_4

Public visualization

Viewing a saved revision (read-only)

50b6a16b8f484f09b63024f1eb67d409

Activity6_4

0 stars0🌍 Public
Aayeshamanzoor111798@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

A D3.js bubble chart correlates average torque, horsepower, and highway MPG for 31 car makes. Each bubble's position encodes horsepower (x-axis) and torque (y-axis), while its radius scales with MPG and its color distinguishes the brand. The visualization includes interactive tooltips showing the make on hover, a legend for MPG sizes, and a categorical color legend, all rendered as SVG with d3.scaleLinear and d3.scaleOrdinal.

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.