Skip to main content
100%

Activity8_Task4

✓ Published0🌍 Public
WWilliam Nsambu
Last edited Apr 13, 2024
Created on Apr 13, 2024

This interactive bubble chart visualizes the relationship between average horsepower, torque, and highway MPG across vehicle makes, with circle position encoding horsepower and torque on linear scales and bubble size representing MPG via a d3.scaleLinear. A tooltip displays the make on hover, while the dataset from bubblechart.csv is loaded using d3.csv. Color mapping uses d3.scaleOrdinal with d3.interpolateTurbo to distinguish manufacturers, and the SVG rendering includes custom legends for both bubble size and color categories.

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