Skip to main content
100%

D3 Starter

✓ Published0🌍 Public
Bbilal
Last edited Nov 19, 2022
Created on Nov 19, 2022
Forked from D3 Starter

This example demonstrates a simple animated face built with D3.js v7, rendered as SVG. The code uses `d3.select`, `d3.arc`, and chained `transition().duration()` calls to animate the eyebrows, mouth, and facial elements over time. A yellow circle serves as the face, with positioned eyes and rectangular eyebrows that shift vertically, while the mouth path alternates between two arc shapes. The animation is triggered on page load without user interaction, showing basic D3 data-binding and transition mechanics.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes