Skip to main content
100%

Fork of Let's make a face with D3.js

✓ Published0🌍 Public
SSnehareddy19
Last edited Jun 18, 2022
Created on Jun 18, 2022

This example uses D3.js v5 to draw a stylized face on an SVG canvas. The face consists of a large orange circle for the head, two smaller circles for eyes, and a mouth rendered using D3's `arc()` path generator. The code also creates eyebrows as rectangles, which animate upward and back down over two seconds each way using chained `transition().attr()` calls. The visualization demonstrates basic SVG shape construction and sequential animation within a React framework.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes