Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

87853884f5324aa8abd4575ccdef2f79

Activity6_Task4

0 stars0🌍 Public
Ttarun.chintada46@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s x-position maps to horsepower, y-position to torque, and radius to highway MPG, while color distinguishes manufacturers. Built with D3 v7, the SVG rendering includes hover tooltips showing the make, a bubble-size legend for MPG values, and a color legend for all makes. Data is loaded from a CSV file, with scales created using d3.scaleLinear and d3.scaleOrdinal, and interactivity handled via mouseover, mousemove, and mouseleave events.

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.