Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
EEmanuel Alvarado Perez
Last edited Aug 23, 2021
Created on Aug 23, 2021
Forked from Smiley Face Part 1

This example shows a simple yellow circle with two elliptical eyes and a black horizontal rectangle for a mouth, forming a basic smiley face. The visualization is rendered as SVG using D3 v6, with geometric shapes positioned explicitly via pixel coordinates. The code leverages D3’s `select` method to append an SVG container and then uses `circle`, `ellipse`, and `rect` elements to construct the face. No data is loaded; all shapes are hardcoded, and the styling is applied directly through attributes like `fill` and `stroke`.

AI-generated description
MIT Licensed

Similar vizzes