Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bubble chart

Public visualization

Viewing a saved revision (read-only)

85d4c056fe9149298ad87e9b6b9cad5c

Bubble chart

0 stars0🌍 Public
HHarshiiiiiiiip
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

A bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with bubble size encoding MPG and color distinguishing manufacturers. D3.js v7 loads the CSV data and renders the SVG chart with linear scales for axes and bubble radius, plus an ordinal color scale using `d3.interpolateTurbo`. Hovering reveals a tooltip showing the car make, while custom legends display both the MPG size mapping and color-coded manufacturer categories.

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.