Fork of Let's make a face with me D3.js!
✓ Published0🌍 Public
This example demonstrates how to build a stylized smiley face with SVG using D3.js v5, showing how to select elements, append shapes, and apply transformations. The code creates a blue circular head, heart-shaped eyes, rectangular eyebrows, and a mouth using the `d3.arc` path generator. The eyebrows are positioned dynamically based on variables like `eyeSpacing` and `eyebrowYOffset`, but the visualization remains static—it renders the face once without any interactive or animated behavior. The project is a fork of a tutorial by VedasriTulabandula, using D3’s `select` and `arc` APIs.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed