Skip to main content
100%

christmas tree

✓ Published0🌍 Public
BBoltMaud
Last edited Dec 2, 2018
Created on Dec 2, 2018

This festive visualization renders a stylized Christmas tree built with D3 v4, using an SVG canvas and custom-generated point data. The code programmatically creates two mirrored sets of branch points using exponential math, then draws green bezier paths to form the tree’s layered triangular silhouette against a brown trunk. Ornaments appear as circles placed randomly near these branch endpoints, with their fill color randomly chosen from a four-color palette, though many are left unfilled. The visualization highlights how generative data and SVG paths can produce a seasonal, geometric illustration without external datasets.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes