Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Tutorial_4

Public visualization

Viewing a saved revision (read-only)

f3543da5f8924d27bd9a02faaabbeb7e

Activity6_Tutorial_4

0 stars1🌍 Public
Hhemalathayella@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This bubble chart visualizes the relationship between average horsepower, torque, and highway MPG for various car makes, revealing that higher-performance vehicles tend to have lower fuel efficiency. Each circle represents a car manufacturer, with its x-position indicating horsepower, y-position indicating torque, and size scaled proportionally to highway MPG using `d3.scaleLinear`. The color of each bubble, assigned via `d3.scaleOrdinal` with `d3.interpolateTurbo`, distinguishes between makes. Hovering over a bubble triggers a tooltip displaying the make name. The chart includes a legend for bubble size values and uses the `d3` framework with SVG rendering.

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.