Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task4

Public visualization

Viewing a saved revision (read-only)

70ccfdb2b69542efb879e9edf0bf48a5

Activity8_Task4

0 stars1🌍 Public
Llikithabaddam@my.unt.edu
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 across 31 car makes, with each circle's position determined by the x- and y-scales and its size encoding MPG via the `d3.scaleLinear` z-scale. Color mapping via `d3.scaleOrdinal` and `d3.interpolateTurbo` distinguishes makes, while animated hover effects and a custom tooltip built with D3 event handlers reveal the make name. The SVG chart includes labeled axes, a legend with circles for MPG values and color swatches, and reads from a CSV file using `d3.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.