Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

f5fe8a416c53437493e117268e8b9d88

Activity6_Task4

0 stars0🌍 Public
GGOPI MUPPURI
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This visualization compares average horsepower, torque, and highway MPG across car makes using a bubble chart. Each bubble’s position encodes horsepower and torque on the x- and y-axes, while its radius represents highway MPG and its color distinguishes the car brand. Built with D3 v7, the chart uses `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` for categorical colors, and SVG circles with mouseover tooltips. A legend displays MPG values and makes, with data loaded from a CSV file.

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.