Skip to main content
100%

q-9

✓ Published0🌍 Public
AArunVurukonda@my.unt.edu
Last edited Oct 25, 2024
Created on Oct 25, 2024

This interactive bubble chart visualizes the correlation between torque, horsepower, and highway MPG for various car makes. Each circle’s position encodes horsepower on the x-axis and torque on the y-axis, while its radius represents highway MPG and color distinguishes car brand. The visualization includes an interactive tooltip on hover and a legend for both bubble size and color. Built with D3 v7, it uses `d3.csv`, `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.interpolateTurbo` to render SVG elements with mouse event handlers. Data comes from the provided `bubblechart.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.
MIT Licensed

Similar vizzes