Skip to main content
100%

Activity6_Task 4

✓ Published0🌍 Public
KKhushi Desai
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes. Each circle is positioned by horsepower (x-axis) and torque (y-axis), with its size scaled to highway MPG and color representing the manufacturer. The example demonstrates D3 v7 data loading via `d3.csv`, linear scales for axes, ordinal color scaling, and interactive tooltips on mouseover. It uses SVG rendering with `join` for data binding and includes a dual legend for bubble size and categorical colors.

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