Skip to main content
100%

Activity 6_Tutorial 4

✓ Published0🌍 Public
Ppenujulilikhil01020@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Hello VizHub

This example visualizes the correlation between average torque, horsepower, and highway MPG across multiple car makes using a bubble chart. Each circle represents a car make, positioned by horsepower on the x-axis and torque on the y-axis, with bubble size proportional to highway MPG and color encoding the make. The chart includes interactive tooltips, a legend for bubble sizes, and a color legend. It is built with D3 v7, using d3.csv for data loading, d3.scaleLinear for axes and sizing, and d3.scaleOrdinal for color mapping.

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