Skip to main content
100%

Activity_6_Task_4

✓ Published0🌍 Public
TTarshit Vupperla
Last edited Oct 25, 2024
Created on Oct 25, 2024

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with each bubble's position mapped to horsepower and torque axes while its radius encodes fuel efficiency. The color of each bubble distinguishes the car manufacturer. Built with D3 v7, the visualization uses `d3.scaleLinear` for axes and bubble sizing, `d3.scaleOrdinal` with `d3.interpolateTurbo` for color mapping, and includes interactive tooltips that display the car make on mouseover. Data is loaded from a CSV file and rendered as SVG with animated hover effects.

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