🌍 Public
Viewing a saved revision (read-only)
2680cf668cb3445a8a720047450461fa
Make a Face
This example renders a simple face from primitive SVG shapes. A yellow circle is centered on a purple background, with its radius equal to half the SVG’s height. The code uses D3 v5’s `select` to grab the `svg` element and reads its `width` and `height` attributes to position the circle dynamically. The visualization demonstrates basic SVG attribute manipulation with D3, creating a clean, minimal composition without data or interaction.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.