Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task4

Public visualization

Viewing a saved revision (read-only)

79414dd0e7004499b5868da8e38cc92e

Activity6_task4

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

This bubble chart displays the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle's x-axis position represents horsepower, the y-axis represents torque, and its size encodes highway MPG. The chart uses D3.js (v7) with SVG rendering, implementing a tooltip on mouseover and a legend. Data is loaded from a CSV file, with bubble size scaled using `d3.scaleLinear` and colors assigned via `d3.scaleOrdinal` with `d3.interpolateTurbo`.

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.