Skip to main content
100%

Fork of Fork of Simley Face

✓ Published0🌍 Public
NNigel
Last edited May 14, 2023
Created on May 14, 2023

This example renders a single yellow smiley face in a 360-by-360 SVG using React and D3 v5. The `Face` component receives props for dimensions, colors, stroke width, eye offset and radius, mouth width and radius, and nose offset and radius, all defined in `index.js`. It uses `ReactDOM.render` to mount the app, while D3’s `range` is imported but not used in the visible code. The face is drawn with hardcoded coordinates, showing a static, composable React component driven by numeric parameters.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes