🌍 Public
Viewing a saved revision (read-only)
9c4aa80f1654407cab2b1b9bd2b2a186
Fork of Fork of HTML Starter
This example renders a simple face using React and SVG, drawing a yellow circle with two eyes on a black stroke outline. The React component constructs the SVG elements directly, using JavaScript expressions within JSX curly braces to compute the center coordinates, eye offsets, and radius values. The code imports React, ReactDOM, and D3 v7 from CDN via unpkg, demonstrating a minimal setup for interactive visualization development. The visualization is static, showing basic SVG shape composition without data or animation.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.