Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

f046f38cceb54de1b8f53be5f2f79c7c

Activity6_Task4

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

This bubble chart shows the correlation between average horsepower, torque, and highway MPG for various car makes. Each bubble’s position encodes horsepower (x-axis) and torque (y-axis), while its radius represents highway MPG. Bubbles are colored by car make, using a turbo colormap through `d3.interpolateTurbo` and `d3.scaleOrdinal`. An interactive tooltip displays the make on hover, implemented with `.on('mouseover')` callbacks. The chart also includes a size legend for MPG values derived from the `z` scale, with data drawn 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.