Skip to main content
100%

Bubble chart

✓ Published0🌍 Public
Rremyapk
Last edited Mar 10, 2020
Created on Mar 6, 2020
Forked from Untitled

Six unlabeled circles of varying radii float on a blank SVG canvas, with each bubble’s fill color mapped from its radius via a custom `colourPicker` function. The code uses D3 v4’s data join (`selectAll`, `data`, `enter`) to append `circle` elements, positioning them with fixed `cx` and inverted `cy` values from a hardcoded dataset. The y-axis is flipped by subtracting each `cy` from the chart height. Rendering is pure SVG, with no axes, transitions, or interactivity.

AI-generated description
MIT Licensed

Similar vizzes