Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of List

Public visualization

Viewing a saved revision (read-only)

5c1f4a444fa548668f8ad45242c7109e

Fork of List

0 stars1🌍 Public
AAlexandru Brebeanu
Last edited Apr 28, 2021
Created on Apr 27, 2021
Forked from List

This example shows a simple yellow smiley face rendered in a circular SVG, with black eyes and a curved mouth positioned symmetrically around the center. The visualization uses D3.js v6 to append SVG elements, including circles for the face and eyes, and an arc path for the mouth, all within a 960 by 500 pixel viewport. The code imports `select` and `arc` from D3, sets up a centered group via a transform, and applies fixed pixel offsets for the facial features. Rendering is purely SVG-based with no data input, relying on hardcoded constants.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.