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
SSkye Chen
Last edited Jun 24, 2021
Created on Jun 24, 2021
Forked from Smiley Face Part V

A smiling face is rendered as a collection of React components, including a yellow background circle, two black eyes, and a curved mouth. The example demonstrates how to split React code across multiple files using ES6 modules and React Fragments. It uses React 16.9, d3.v5, and the `arc` API from d3 to generate the mouth path, with the final SVG output drawn to the page.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed