Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

59de04d5b294429ca3cf34ab280bba2f

HTML Starter

0 stars0🌍 Public
Ccsroysudarshan
Last edited Apr 10, 2020
Created on Apr 10, 2020
Forked from Smiling Face

This example draws a smiley face using D3 selections and SVG shapes. A yellow circle serves as the face, with black circles for eyes, rectangles for eyebrows, and a D3 arc path for the mouth. The eyebrows animate vertically through a chain of `transition().duration()` calls, moving up and down repeatedly. The code constructs the SVG elements by appending groups and shapes to the root `svg` element, using D3's `select` and `arc` functions.

AI-generated description

A bare minimum HTML page.

See also React Starter.