Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Viewing a saved revision (read-only)

757c096675b343ab8d2abee988caeb9b

Fork of D3 Starter

0 stars0🌍 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