Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Flowers with D3

Public visualization

Viewing a saved revision (read-only)

5f4f18451b134a829588b5b5894439b1

Fork of Flowers with D3

0 stars0🌍 Public
NNanditha Reddy
Last edited Feb 27, 2024
Created on Feb 26, 2024
Forked from Flowers with D3

This visualization generates flowers positioned on stems above a light green background, with each flower’s height corresponding to a country’s score from a hardcoded array. The code uses the D3 library to build scales and axes (`d3.scaleBand`, `d3.scaleLinear`, `d3.axisLeft`, `d3.axisBottom`) and renders the stems as rectangles, petals as circles at computed angles, and decorative vases and leaves via SVG paths.

AI-generated description

Creating flowers with D3.

The height of Flowers has been changed by modifying an array