Skip to main content
100%

activity4_to

✓ Published0🌍 Public
Aazeemrm630@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

A bubble chart visualizes the correlation between average horsepower, torque, and highway MPG across 31 car makes, with circle size encoding MPG and color distinguishing brands. The D3.js v7 code loads a CSV, applies linear scales to axes, and uses an ordinal color scale with interpolateTurbo for the legend. Interactive tooltips appear on mouseover, and hover events are managed through transition-based show, move, and hide functions under an SVG rendering.

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