Skip to main content
100%

D3 FACE!

✓ Published0🌍 Public
Bbl75d
Last edited Feb 26, 2020
Created on Feb 26, 2020
Forked from HTML Starter

This example draws a simple smiley face using D3.js and renders it as SVG. The visualization shows a yellow circle with black eyes and a mouth, all positioned using fixed coordinates derived from the SVG's width and height attributes. The code uses D3's `select` API to target the SVG element and the `arc()` generator to create the mouth path. The implementation relies on D3 v5.15.0 loaded from a CDN, with all geometric values hardcoded in JavaScript.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes