Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

tutorial_4

Public visualization

Viewing a saved revision (read-only)

103c9b58e1c1470daeeca2f2ec209323

tutorial_4

0 stars0🌍 Public
Sshettisowmya01@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This chart visualizes the correlation between average torque, horsepower, and highway MPG across several car makes. Each bubble’s position is determined by its horsepower and torque, while its radius and color encode highway MPG and car brand, respectively. The code uses d3.csv to load data, d3.scaleLinear for axes and size, and d3.scaleOrdinal with d3.interpolateTurbo for color mapping. Interactive tooltips appear on mouseover, and a legend explains the size scale for highway MPG.

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.