Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ejercicio 1 LAB04 Mario

Public visualization

Viewing a saved revision (read-only)

cf96b379272c454ea68631ca2e8911a4

Ejercicio 1 LAB04 Mario

0 stars0🌍 Public
MMario Morales Barquero
Last edited May 11, 2021
Created on May 6, 2021

This example uses D3 v4 to draw a simple cartoon face from static SVG shapes. A yellow circle serves as the head, with two ellipses for eyes and a thin rectangle for the mouth, all positioned relative to the SVG’s 500x400 dimensions. The code directly appends elements using `select` and `attr`, setting coordinates and styling properties such as fill and stroke. The accompanying `data.json` file is present but is not loaded or referenced in the visualization, and no axes or scales are used.

AI-generated description