Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

715435f703ce4144a9af1c956277864f

Activity6_Task4

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

This bubble chart visualizes correlations between average horsepower, torque, and highway MPG for various car makes using D3 v7. The chart plots torque on the y-axis and horsepower on the x-axis, with the bubble radius encoding highway MPG. Data is loaded from a CSV file using `d3.csv`. The visualization employs `d3.scaleLinear` for axes and bubble sizing, `d3.interpolateTurbo` for color mapping, and `d3.scaleOrdinal` for categorical coloring. Interactive tooltips appear on mouseover, displaying the car make, while SVG rendering includes custom legends for both bubble size and color categories.

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.