Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task4

Public visualization

Viewing a saved revision (read-only)

4927c27978084e4da105a227cc09867d

Activity8_Task4

0 stars0🌍 Public
Zzoe.romo@att.net
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes, with each circle's position encoding horsepower and torque while its radius and color represent MPG and make. The visualization uses D3.js v7 to render SVG elements, including interactive tooltips that display the make on hover. A color legend maps makes to distinct colors via `d3.scaleOrdinal`, while a separate legend demonstrates how bubble size corresponds to MPG values. The chart reads data from a local CSV file and animates tooltip transitions using D3's built-in transition methods.

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.