🌍 Public
Viewing a saved revision (read-only)
cd83f0373be44f029f367412ee000c9b
Let's make a face
A playful SVG face is constructed by layering simple geometric shapes—a red background, a circular face, and facial features—within a single web page. The example demonstrates basic SVG composition and styling, with the background color set to red using a D3 selection. The code uses `d3.select` to grab the SVG element and applies inline CSS via `svg.style`. The page imports D3 v5 from a CDN and sets the SVG dimensions to 960 by 500 pixels, requiring no external data source.
AI-generated descriptionAn example including some commonly used features of SVG.