Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 4

Public visualization

Viewing a saved revision (read-only)

3938581c213943fdaef28911d0869a6f

Activity 6 Task 4

0 stars1🌍 Public
Jjaswanthreddy2000@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes horsepower on the x-axis and torque on the y-axis, while its radius represents highway MPG and its color distinguishes the car brand. Hovering over a bubble reveals the make via a tooltip built with D3’s event handlers. The visualization uses d3.scaleLinear axes, d3.scaleOrdinal for color, d3.interpolateTurbo for the palette, and SVG circles animated through d3 transitions. Data comes from bubblechart.csv.

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.