Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial4

Public visualization

Viewing a saved revision (read-only)

4de08532bcc5489c8c59f6d234639e59

Tutorial4

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

This interactive bubble chart shows the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble sized by fuel efficiency and colored by manufacturer. The visualization uses D3 v7 with SVG rendering and animated tooltips that appear on mouseover to display the car make. Data from `bubblechart.csv` is mapped through `d3.scaleLinear` for axes and bubble radius, with `d3.scaleOrdinal` assigning colors via `d3.interpolateTurbo` for the legend.

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.