Skip to main content
100%

Lab4 carita feliz

✓ Published0🌍 Public
Llimeroc
Last edited May 17, 2021
Created on May 17, 2021

A smiley face rendered in purple with black outlines, drawn on an SVG canvas. The face is constructed with a large circle for the head, two smaller circles for eyes, and a path-based mouth using an arc. D3.js v5 is used for DOM element selection and creation, with the `select` and `append` APIs. The mouth is generated using `d3.arc` to define the path's shape, while eye and eyebrow positions are set via simple coordinate translations.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes