Skip to main content
100%

Fork of DataViz D3 - Smiley Face Part I

✓ Published0🌍 Public
Jjanakadvani11@gmail.com
Last edited Mar 10, 2024
Created on Mar 10, 2024

This example demonstrates the first half of a smiley face using only basic SVG shapes, rendered directly in an HTML page. It shows a yellow circle with a black outline as the face, along with two smaller black circles for the eyes, but omits the mouth to leave the expression incomplete. The visualization relies on hard-coded SVG elements—a `<circle>` for the head and two for the eyes—placed within a 960 by 500 viewport, with styling controlled by inline attributes such as `fill`, `stroke`, and `stroke-width`. No external libraries or data are used; the code is plain HTML and CSS, with the body margin reset for full-screen display.

AI-generated description

A bare minimum HTML page.

Half way towards a smiley face with HTML and CSS

MIT Licensed

Similar vizzes