Skip to main content
100%

Hello D3 Version 6

✓ Published1🌍 Public
Mmgl12432
Last edited Aug 29, 2020
Created on Aug 28, 2020
Forked from Hello VizHub

This example shows a simple animated smiley face drawn in an SVG canvas using D3 version 6. It demonstrates basic shape creation and chained transitions: the left eye blinks by shrinking and growing its radius, while the right eye performs a similar pulse with different timing. The face uses yellow and black circles for the eyes and a path generated with `d3.arc` for the mouth. The code selects the SVG with `d3.select`, appends elements, and applies transitions via `transition().duration()`. A separate `index.js` file uses `select` from the D3 module to display a text message.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes