Skip to main content
100%

Face with D3.js

✓ Published0🌍 Public
Aarontha
Last edited Aug 18, 2019
Created on Aug 18, 2019

A smiling face is drawn as a yellow SVG circle with white outlines, featuring two black eyes that animate by moving down and up via chained `transition().duration()` calls. Built with D3.js v5, the example demonstrates basic SVG shape creation using `d3.select` and attribute assignment for circles, with a commented-out arc-based mouth showing an alternative path approach. The eyes use transform translations over three-second intervals, creating a simple blinking effect without external data.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes