DataViz_Creative_Coding
✓ Published0🌍 Public
This example generates a Halloween-themed night scene with D3, rendering a starfield of polygons, a pumpkin with a carved face, and a skeleton figure. The visualization uses D3 selections like `selectAll`, `append`, and `join` to draw SVG shapes, including polygons, circles, ellipses, rects, and lines. Star positions come from a hardcoded array, and the pumpkin and skeleton coordinates are computed relative to the container’s width and height. The code applies D3’s data-binding approach to create and update elements on a black background.
AI-generated descriptionCreating circles with D3.
Challenge
- Fork this example
- Modify it
- Maybe make it Halloween themed
- Maybe make it Christmas themed
- Be creative
MIT Licensed