Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8_Tutorial4

Public visualization

Viewing a saved revision (read-only)

56624d08adfd4895a7b8bcd27b0a73eb

Task8_Tutorial4

0 stars0🌍 Public
KKeerthi
Last edited Apr 10, 2024
Created on Apr 10, 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 x-position maps to horsepower, its y-position to torque, and its radius to highway MPG, while color distinguishes the car brand. Built with D3 v7, the SVG rendering includes interactive tooltips that display the make on hover, plus legends for bubble size and categorical colors. The chart uses d3.scaleLinear for positioning, d3.scaleOrdinal for color mapping, and d3.interpolateTurbo for the color palette.

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.