Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial-4 Task-4

Public visualization

Viewing a saved revision (read-only)

6b3babb7d59f495b8aef076a9dcd0743

Tutorial-4 Task-4

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

This visualization uses a D3 v7 bubble chart to show the correlation between average horsepower, torque, and highway MPG for various car makes. Each bubble’s position encodes torque (y-axis) and horsepower (x-axis), while its radius represents highway MPG, with a color scale differentiating makes. The SVG rendering includes interactive tooltips on hover, a legend for MPG values, and a categorical color legend. Data is loaded from a CSV file using `d3.csv`, with scales `d3.scaleLinear` and `d3.scaleOrdinal` driving the visual encoding.

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.