Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Create a face with d3.js!

Public visualization

Fork of Create a face with d3.js!

0 stars0🌍 Public
Jjayanth1242
Last edited Sep 22, 2023
Created on Sep 22, 2023

A smiling face is drawn with SVG shapes, including a yellow circle for the head, two eyes, rectangular eyebrows, and an arc-shaped mouth. The eyebrows animate upward and downward using D3's `transition()` method. The example uses D3 v7 APIs `select`, `arc`, and `attr` to build and style the elements within an SVG canvas.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed