Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 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.

MIT Licensed

Similar vizzes