Skip to main content
100%

Bubble charts - bottom y axis alignment

✓ Published1🌍 Public
Hhquazza@gmail.com
Last edited Jan 28, 2025
Created on Jan 28, 2025
Forked from Gubs Intro course

This example displays a bubble chart with four circles representing groups A through D, positioned horizontally with their bottoms aligned along the lower edge of the SVG canvas. Circle size encodes the `total` value using a square root scale, while opacity reflects the same metric. The visualization uses D3 v7’s selection, data join, and scaleSqrt APIs to bind dummy data to SVG circle and text elements, with labels placed at each bubble’s center.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes