Skip to main content
100%

Fork of Let's make a face with D3.js! by kiran jyothi bodduluri - 11604571

✓ Published8🌍 Public
KKiran Jyothi Bodduluri-11604571
Last edited Feb 23, 2023
Created on Feb 20, 2023

A D3.js visualization constructs a stylized smiley face in SVG, featuring a yellow circular head, eyes, pupils, nose, teeth, ears, eyebrows, blush, glasses, and a beard. The eyebrows are static rotated rectangles; no animation is present, despite the README mentioning movement. The code builds elements using D3 v5 selections, methods like `attr`, the `arc` generator for the nose and mouth, and data binding for the teeth. The fixed SVG canvas is 960 by 480 pixels, with shapes positioned via absolute coordinates and transforms.

AI-generated description

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

MIT Licensed

Similar vizzes