Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

Fork of React Starter

0 stars0🌍 Public
Jjasonamey
Last edited Sep 11, 2023
Created on Sep 11, 2023
Forked from React Starter

This example shows a simple, smiley-face drawing rendered with React and SVG. The code creates a yellow circle with a black outline, two eyes, and a mouth, all positioned using coordinate variables. It leverages D3’s `arc()` function to generate the mouth path, while React’s `createRoot` manages the component tree. The visualization is static, with dimensions set to the browser window size via `window.innerWidth` and `window.innerHeight`.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed