Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial4

Public visualization

Viewing a saved revision (read-only)

d21a5c9e019148f58cf0070b71370742

Tutorial4

0 stars0🌍 Public
Vvaishalireddy55555@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This bubble chart explores the relationship between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes horsepower and torque on the x- and y-axes, while its radius represents highway MPG and its color distinguishes the car manufacturer. Built with D3 v7, the visualization uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color mapping, and SVG circles with interactive tooltips on mouseover. The legend explains both the MPG sizing and the color mapping for each make based on data 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.