Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4

Public visualization

Viewing a saved revision (read-only)

7081817bae0c4bd59b637928219b0d38

Activity6_Task4

0 stars5🌍 Public
Kkowshiksamudrala08@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This visualization displays the correlation between average horsepower, torque, and highway MPG across 31 car makes using a bubble chart. Each circle’s position represents horsepower on the x-axis and torque on the y-axis, while its radius encodes highway MPG and color distinguishes the manufacturer. The chart includes an interactive tooltip that reveals the car make on hover, implemented with D3 v7 event handlers. A legend shows both the MPG size scale and color-coded makes. Data is loaded from a local CSV file and rendered as SVG with a linear color scale using `d3.interpolateTurbo`.

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.