Skip to main content
100%

Data Visualization with D3 - Smiley Part I

✓ Published1🌍 Public
AAurore Paligot
Last edited Jun 15, 2021
Created on Jun 15, 2021
Forked from HTML Starter

This example shows a simple smiley face built with two-dimensional SVG shapes. It draws a large yellow circle with a red stroke for the head, plus two smaller red circles for the eyes, all placed on a 960x500 canvas. The code uses basic SVG elements—`circle`—with explicit `cx`, `cy`, `r`, `fill`, and `stroke` attributes, rendered directly in the browser. No JavaScript libraries or data sources are involved; the static composition demonstrates manual positioning and styling without interaction or animation.

AI-generated description

Data Visualization with D3 - Smiley Part I

MIT Licensed

Similar vizzes