Let's make a face with D3.js!
This example demonstrates fundamental DOM manipulation with D3.js by constructing a smiley face from basic SVG shapes. A red background, yellow circle head, black eyes, and an arc-generated mouth are all created and styled through chained attribute methods. The code explicitly imports `select` and `arc` from the D3 v5 library, using `d3.arc()` to produce the mouth path. All rendering occurs in an SVG canvas with hardcoded dimensions, and the example serves as a hands-on introduction to selecting elements, appending shapes, and setting attributes in D3.