Skip to main content
100%

SVG Starter

✓ Published1🌍 Public
Rrajan1508
Last edited Apr 22, 2021
Created on Apr 22, 2021
Forked from HTML Starter

This example displays a simple, static cartoon face composed of basic SVG shapes: a yellow circle for the head, two dark circles for eyes, two rectangles for eyebrows, and an arc path for the mouth. Built with D3.js 6.7.0, the code uses `d3.select` to append elements to an SVG canvas and `d3.arc` to generate the mouth’s path. The layout is hard-coded using pixel coordinates. The visual demonstrates fundamental SVG and D3 shape creation without any data or interaction.

AI-generated description

Learning some basics of svg and d3.js.

MIT Licensed

Similar vizzes