Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3js practice

Public visualization

Viewing a saved revision (read-only)

9f02531a7fed44a59a332d4406e87c40

D3js practice

0 stars0🌍 Public
Sshuksbhoney
Last edited Feb 12, 2022
Created on Feb 12, 2022

This example draws a simple face using D3 version 7. A yellow circle serves as the head, with two black circles for eyes, and a path created with the `d3.arc` function forms a smile. The SVG canvas is 960 by 500 pixels, and all shapes are positioned and scaled relative to these dimensions. The code demonstrates basic SVG rendering and shape manipulation with D3's selection and attribute methods.

AI-generated description

A demonstration of how to start using D3 version 6.