Image
Code

Let's make a face: part 6

rvdv

Last edited Dec 20, 2021
Created on Dec 20, 2021

Further refactoring the smiley face with React and D3 into multiple components on a need-to-know basis so we can easily scale to multiple faces.

File structure:

  • index.js
    • FaceContainer.js
    • Face.js
      • BackGroundCircle.js
      • Eyes.js
      • Mouth.js
        • d3.arc
MIT Licensed