Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tutorial 4

Public visualization

Viewing a saved revision (read-only)

97c68af882b744ed84986937315d3b37

Tutorial 4

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

This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes using data from a CSV file. Each circle’s x-position and y-position map to horsepower and torque respectively, while its radius and color encode highway MPG and car brand, using `d3.scaleLinear` and `d3.scaleOrdinal`. The visualization includes hover tooltips, axis labels, a legend for bubble sizes and colors, and is rendered with SVG elements using D3 v7’s data join and transition methods.

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.