Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8-T4

Public visualization

Viewing a saved revision (read-only)

beb029e9d7c14c4783e04714ee443493

Activity8-T4

0 stars0🌍 Public
Sshaiksajidali
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This bubble chart displays the correlation between average horsepower, torque, and highway MPG for various car makes. Each car make is represented by a colored circle, with its position determined by horsepower (x-axis) and torque (y-axis), while the circle’s size corresponds to highway MPG. The color encodes the make, using `d3.interpolateTurbo` and `scaleOrdinal`. The visualization, built with D3 v7, uses the `join` API to create SVG circles, and includes interactive tooltips that appear on mouseover. A legend with circles and lines shows the MPG scale, and another legend maps color to car make.

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.