Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-4-Tutorial-4

Public visualization

Viewing a saved revision (read-only)

7374a175f5394e0480da3ac377bf4b94

Task-4-Tutorial-4

0 stars0🌍 Public
Rrahul.bonu524@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This bubble chart shows the correlation between average horsepower, torque, and highway MPG across car makes. Each circle’s position encodes horsepower on the x-axis and torque on the y-axis, while its radius scales with highway MPG using a linear scale (`d3.scaleLinear`). A tooltip displays the make on hover, and a legend maps both MPG values and car makes to size and color, using `d3.interpolateTurbo` for the ordinal color scale. The SVG is rendered with D3 v7, reading data from a CSV file.

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.