Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Viewing a saved revision (read-only)

2a7fdf6b343149d1bef872042c43f0f9

Fork of D3 Starter

0 stars0🌍 Public
AadnaneAkk
Last edited Oct 29, 2022
Created on Oct 29, 2022
Forked from D3 Starter

This example demonstrates a simple D3.js starter project that renders a yellow smiling face using basic SVG shapes. The code creates a large circle for the face, two smaller circles for the eyes, and an arc path for the mouth, all positioned relative to the SVG's width and height attributes. It uses D3 v7 selection methods such as `svg.append` and `.attr` to build the visualization, along with the `d3.arc` function to generate the mouth's curved path. The example serves as a minimal introduction to D3's core drawing capabilities.

AI-generated description

A demonstration of how to start using D3 version 6.