Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Actvity6_Task4

Public visualization

Viewing a saved revision (read-only)

ec9dd5598f43455a839063d4255b5d45

Actvity6_Task4

0 stars0🌍 Public
SShasankreddyganta@my.unt.edu
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle’s position represents horsepower (x-axis) and torque (y-axis), while its size encodes highway MPG and its color distinguishes the car brand, with a legend for both. Rendered using D3 v7 with SVG and animation, the chart includes interactive tooltips on mouseover, implemented via D3 event handlers. The code uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` with `d3.interpolateTurbo` for colors, and the data comes 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.