Skip to main content
Public

Share visualization

Loading preview…

Flowers 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

Flowers with D3

7
IIan Padovani
Last edited Jan 25, 2024
Created on Jan 25, 2024
Forked from Ayush - Flowers

Three flowers grow from stems in a bar chart, with each flower’s height matching a score for a country (Malta, Outer Space, Netherlands). Flower petals are drawn as circles positioned around a yellow center using trigonometric angles. The example uses D3 selections, `scaleBand` and `scaleLinear` for axes and positioning, and configurable data arrays to adjust flower heights.

AI-generated description

Creating flowers with D3.

The height of each individual flower can be changed by editing an array.

Comments

Sign in to join the discussion.

MIT Licensed