Skip to main content
100%

let's make a face with D3.js!

✓ Published1🌍 Public
YYongbobloomington
Last edited Dec 18, 2020
Created on Dec 18, 2020
Forked from HTML Cars Report

A smiling face built entirely from D3.js SVG shapes. The code draws a yellow circle for the head, adds two smaller circles for eyes, and uses the `d3.arc` API to create an arc-based mouth with specified inner and outer radii and angles. The example demonstrates basic SVG attribute manipulation with `select`, `append`, and `attr`, and positions elements using a centered `<g>` group with translate transforms. All geometry is hardcoded, with no external data source.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes