Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
Ppeter-j-schmidt
Last edited Mar 8, 2021
Created on Mar 8, 2021
Forked from Hello HTML

This example shows a smiley face built with React and D3, rendered as an SVG. The face uses D3’s `arc` generator to create the mouth, with circles for the eyes and head, and explicit stroke and fill attributes for the outline. The React component passes SVG properties like `cx`, `cy`, `r`, and `stroke-width` directly to the elements. The code demonstrates combining React’s declarative component structure with D3’s geometric utilities to produce static, data-driven graphics without any interaction or animation.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes