Skip to main content
Public

Share visualization

Loading preview…

Circles with D3

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Circles with D3

6
CCurran Kelleher
Last edited Sep 3, 2025
Created on Sep 3, 2025
Forked from Circles with SVG

This example displays a scattered arrangement of colorful circles of varying sizes and positions across an SVG canvas. Each circle is rendered with a distinct fill color, creating a visually playful composition. The code defines a static dataset of circle properties and uses D3 v7’s data join pattern with `selectAll`, `data`, and `join('circle')` to bind and append SVG circle elements. Attributes like `cx`, `cy`, `r`, and `fill` are set directly from the data object.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed