Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task4

Public visualization

Viewing a saved revision (read-only)

ec924960a96c46ad9c48b175c0ee1ec3

Activity6_task4

0 stars1🌍 Public
Ppraneeth.d555@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes torque (y-axis) and horsepower (x-axis), while its radius scales with highway MPG and its color distinguishes the vehicle brand. Built with D3 v7, the SVG visualization includes hover tooltips that display the car make, plus a legend for MPG bubble sizes and color categories. Data is loaded from a CSV file using `d3.csv`, with scales created via `d3.scaleLinear` and `d3.scaleOrdinal` for mapping values.

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.