🌍 Public
Viewing a saved revision (read-only)
5f4f18451b134a829588b5b5894439b1
Fork of 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 descriptionCreating flowers with D3.
The height of Flowers has been changed by modifying an array