Skip to main content
100%

Dibujando una cara con d3.js

✓ Published0🌍 Public
Jjcruchaga
Last edited Jul 29, 2020
Created on Jul 29, 2020

A yellow smiley face drawn with SVG circles, rectangles, and a path arcs its eyebrows upward and back down in a looping animation. The face is centered via a transformed group, with eyes positioned symmetrically and a mouth created using the d3.arc generator. Eyebrow movement uses d3's transition method with a two-second duration, while the empty d3.csv data file remains unused. The example demonstrates fundamental D3 v5 DOM manipulation and SVG rendering.

AI-generated description

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

MIT Licensed

Similar vizzes