Skip to main content
100%

Ejercicio 1 LAB04 Mario

✓ Published0🌍 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
MIT Licensed

Similar vizzes