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
Rrashidh003
Last edited Sep 22, 2023
Created on Sep 22, 2023

This example displays a cartoon face constructed from SVG shapes, including a yellow head, two eyes, eyebrows, and a mouth. The eyebrows animate by moving upward and then returning to their original position over a two-second interval. The visualization uses D3 v7 to build the SVG elements, with the mouth drawn using the `d3.arc` function. The code loads D3 from UNPKG and demonstrates importing the `select` and `arc` functions from the library.

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