Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6 task4

Public visualization

Viewing a saved revision (read-only)

2ac8492f316441f2bfbb8c12537d4418

Activity_6 task4

0 stars0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

A bubble chart displays the correlation between average horsepower, torque, and highway MPG for various car makes. The visualization uses D3.js (v7) with SVG and animation, reading data from a CSV file. Bubble position maps horsepower and torque, while bubble size and color encode highway MPG and car make, respectively. Interactive tooltips appear on mouseover, showing the car make. The chart includes legends for both bubble size (MPG) and color-coded makes, rendered through D3's `scaleLinear` and `scaleOrdinal` APIs.

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.