🌍 Public
Viewing a saved revision (read-only)
4a994cc2b6b54efabb48b3c446b23219
Fork of Flowers
Fork of Flowers presents three categorical scores as stylized flowers on stems, with each bloom’s height reflecting its numeric value. The visualization uses D3’s `scaleBand` and `scaleLinear` to position stems and map scores, while manually drawing five petal circles plus a yellow center per flower via `append('circle')`. Data is hardcoded in an array, and the background, stem, and petal colors are set directly. The code relies on D3’s selection and axis APIs, including `axisBottom` and `axisLeft`.
AI-generated descriptionCreating flowers with D3.
The height of each individual flower can be changed by editing an array.