🌍 Public
Viewing a saved revision (read-only)
da32420fc1a741209b2d7f8e66d0cb27
Bubble charts - bottom y axis alignment
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.