Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

44296c0811fd4dacaffe7e8cba720693

Activity6_Task4

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

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle represents a make, with its x-position mapped to horsepower, y-position to torque, and radius scaled proportionally to highway MPG using a d3.scaleLinear. The SVG is rendered with d3.v7, featuring interactive tooltips on mouseover via event listeners. A legend displays the MPG scale and color-coded car makes, while the color encoding uses d3.interpolateTurbo and d3.scaleOrdinal based on CSV data.

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.