🌍 Public
Viewing a saved revision (read-only)
b60d1c5c43f4467199854bb3d65034b4
DataViz D3 - Smiley Face Part I
This example builds a static smiley face using an SVG circle for the face outline and two additional circles for the eyes, rendered directly in an HTML page with inline CSS. The code uses no external libraries, instead relying on hard-coded SVG coordinates and attributes like `cx`, `cy`, and `r` to position the shapes. The face is centered within a 960 by 500 pixel viewport, with the eyes placed symmetrically around the horizontal center. The rendering approach is purely SVG markup, with the body’s margin removed and overflow hidden for a clean, full-window display.
AI-generated descriptionA bare minimum HTML page.