Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bubble chart

Public visualization

Viewing a saved revision (read-only)

e0540f8f3aba4a1bbb4736a88c24957e

Bubble chart

0 stars0🌍 Public
Rrikhitakoganti12
Last edited Jul 2, 2023
Created on Jul 2, 2023
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each circle’s position mapped by d3.scaleLinear axes for horsepower (x) and torque (y), while its radius encodes highway MPG using another linear scale. Color distinguishes car makes via d3.scaleOrdinal with d3.interpolateTurbo, and interactive tooltips appear on mouseover using D3 event handlers. The SVG renders from a CSV file, with a legend for bubble sizes and color categories, all built with d3.v7.

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.