Skip to main content
100%

D3

✓ Published0🌍 Public
MMarcusABR
Last edited Nov 4, 2022
Created on Nov 4, 2022
Forked from Smiley Face Part V

A smiling face built from modular React components draws on D3 for one curved path. BackgroundCircle, Eyes, and Mouth each render SVG primitives, with Mouth using D3's arc generator to create a smile between computed angles. The example demonstrates splitting UI elements into separate ES6 files while composing them with React fragments. D3 v5, React 16.9, and ReactDOM render the static scene at 960 by 500 pixels.

AI-generated description

Splitting React components into multiple files using ES6 modules. Bonus: React Fragments!

MIT Licensed

Similar vizzes