Skip to main content
100%

Activity6_Task4

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

A bubble chart visualizes the correlation between average horsepower, torque, and highway MPG for various car makes. Each circle's x-position represents horsepower, the y-position represents torque, and the circle's radius encodes highway MPG. Color distinguishes different makes, with a legend showing the MPG scale. The chart uses D3.js v7, employing `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color, and SVG rendering. Interactive tooltips display the car make on mouseover, updating position and visibility with D3 transitions.

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