Skip to main content
100%

Activity 6_Q 4

✓ Published0🌍 Public
MMannava Priyanka Chowdary
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A bubble chart visualizes the correlation between horsepower, weight, and MPG for the first 27 vehicles from the auto-mpg dataset. Each circle’s position encodes its horsepower and weight, while its radius and color represent MPG and car name, respectively, using a turbo color scale. The SVG rendering includes axes, labels, a tooltip on hover, and a legend, all built with D3 v7’s scales, axis generators, and event handlers.

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