Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
AAya
Last edited May 18, 2021
Created on May 18, 2021
Forked from HTML Starter

This example uses D3 version 6 to render a simple face on an SVG canvas. It draws a yellow circle as the head, then adds two black eye circles and a red arc-shaped mouth using D3’s `arc` generator, which creates an SVG path based on inner/outer radii and start/end angles. The code uses `select` and `append` to build the SVG elements, with hard-coded positions and dimensions for each facial feature.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes