Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity4_to

Public visualization

Viewing a saved revision (read-only)

6102fca12bd647c992a3c32c26ecbfc8

activity4_to

0 stars0🌍 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.