Skip to main content
100%

Question 4

✓ Published0🌍 Public
Kkandulasunny17@gmail.com
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from activity6-task_4

This interactive bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle’s position encodes horsepower (x-axis) and torque (y-axis), while its radius represents highway MPG and color distinguishes car makes. The visualization includes hover tooltips showing each make’s name, plus legends for bubble size and color categories. It uses d3.csv to load data, d3.scaleLinear for positioning and sizing, d3.scaleOrdinal with d3.interpolateTurbo for color mapping, and d3.axisBottom and d3.axisLeft for axes, with SVG rendering and animated transitions.

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