Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

3f838fa6d4854a9681e130912aaf3a98

Fork of Hello VizHub

0 stars0🌍 Public
Ssaivaishnogaruda@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This D3.js v7 bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s x-position maps to horsepower, y-position to torque, and radius to highway MPG, while color distinguishes makes using `d3.scaleOrdinal` with `d3.interpolateTurbo`. The code reads data from a CSV via `d3.csv`, renders an SVG with axes and labels, and includes an interactive tooltip on `mouseover`, `mousemove`, and `mouseleave` events. A legend communicates bubble size and color mapping.

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.