🌍 Public
Viewing a saved revision (read-only)
c9035d9fb0d34d798ab158efdcd90a5e
Let's make a face with D3
This example demonstrates a playful SVG face created from basic shapes, showing how D3 can assemble and style elements on a canvas. The code uses `d3.select` to target the SVG container and applies a background color via the `style` method. Although the sketchy setup includes an embedded YouTube tutorial link, the visible implementation itself only loads D3 v5 and initializes a blank 960×600 SVG, ready for further drawing instructions. The face is not yet rendered in the provided code; instead, it serves as a starting point for interactive construction.
AI-generated descriptionAn example including some commonly used features of SVG.