Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Hello VizHub

Public visualization

Fork of Fork of Hello VizHub

0 stars1🌍 Public
Hharinimoorthi05@gmail.com
Last edited Aug 9, 2024
Created on Aug 9, 2024

This example visualizes the relationship between horsepower, torque, and highway MPG for various car makes. A bubble chart uses x- and y-axes for horsepower and torque, while bubble size and color encode MPG and car brand, respectively. Built with D3 v5 and SVG, it reads data from a local CSV file, employs d3.scaleLinear for axes and bubble sizing, uses d3.scaleOrdinal with d3.interpolateTurbo for color mapping, and includes interactive tooltips on mouseover. Animated transitions handle tooltip fading.

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.

Comments

Sign in to join the discussion.

MIT Licensed