Skip to main content
100%

Activity6_Task4_Question4

✓ Published0🌍 Public
SShasankreddyganta@my.unt.edu
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This interactive bubble chart from VizHub visualizes the correlation between car horsepower, MPG, and weight using data from a local cars.csv file. Each bubble’s x-position maps to horsepower, y-position to MPG, and radius to vehicle weight, rendered as SVG circles with tooltips. Built with D3 v7, it uses `d3.scaleLinear` for axes and bubble sizing, `d3.axisBottom` and `d3.axisLeft` for scales, and mouse event handlers for the tooltip. The chart animates opacity changes on hover, with black stroke outlines and skyblue fills.

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