Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Fork of Hello VizHub

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

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Using D3.js, it plots horsepower on the x-axis, torque on the y-axis, and scales bubble radius by MPG, with color encoding by make. The code loads data from a CSV via `d3.csv`, uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for colors, and renders SVG circles with hover tooltips showing each make's name.

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.

Comments

Sign in to join the discussion.

MIT Licensed