Skip to main content
100%

Activity6_tutorial4

✓ Published0🌍 Public
Yyadlapallisaisathvik@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This bubble chart shows the relationship between average horsepower, torque, and highway MPG for different car makes, using D3.js. The x-axis represents horsepower, the y-axis represents torque, and the size of each bubble corresponds to highway MPG. The data is loaded from a local CSV file via `d3.csv()` and rendered as SVG circles with tooltips. Color is mapped by car make using `d3.scaleOrdinal` with an `interpolateTurbo` palette, and a legend displays the MPG size scale.

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.
MIT Licensed

Similar vizzes