Skip to main content
100%

Activity6_Task4

✓ Published0🌍 Public
JJayanth Reddy Sripathi
Last edited Oct 25, 2024
Created on Oct 25, 2024

This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each bubble’s position encodes horsepower (x-axis) and torque (y-axis), while its size and color represent highway MPG and car make, respectively. Built with D3 v7, it uses `d3.scaleLinear` for axes and bubble radius, `d3.scaleOrdinal` for color encoding, and `d3.interpolateTurbo` for the palette. Hovering reveals a tooltip with the make name, and a legend explains bubble size values.

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