Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Face Part V

Public visualization

Fork of Smiley Face Part V

0 stars0🌍 Public
SSteven Jung
Last edited Apr 26, 2022
Created on Apr 26, 2022
Forked from Smiley Face Part V

A React and D3 v5 composition renders a yellow smiley face as an SVG, with a dark stroke around the face, two eyes, and a curved mouth. The components are split into separate ES6 modules, using React Fragments to group the eye circles. The code defines the face using D3’s `arc` generator for the mouth and renders it with `ReactDOM`.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed