Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smily Face with svg

Public visualization

Viewing a saved revision (read-only)

fdbee91c8bef4c44baf36ba75deaa496

Smily Face with svg

0 stars0🌍 Public
AAr0manKhan
Last edited Feb 11, 2021
Created on Feb 3, 2021
Forked from D3 Starter

A smiling face is drawn using scalable vector graphics, showing how D3 v6 can create basic shapes and group elements. The code builds a yellow circle for the face and positions two smaller eye circles using a g element with a transform. It utilizes D3 selections to append and style SVG elements, calculates coordinates for centered placement, and applies attributes for fill and stroke. The example demonstrates D3’s SVG manipulation capabilities with a simple, static illustration.

AI-generated description

A demonstration of how to start using D3 version 6.