Skip to main content
100%

Happy Face with D3

✓ Published1🌍 Public
Mmirna981
Last edited Oct 7, 2019
Created on Oct 7, 2019

A simple green SVG face with a yellow circular head, black eyes, and a smiling mouth demonstrates basic D3 selection and styling. The code selects the SVG element with `d3.select` and applies a green background via `style`. It uses D3 v5 loaded from a CDN, with the SVG rendered in the browser and a hidden body overflow. The example highlights how D3 can manipulate SVG attributes and styles to create a static, playful visual without data binding or interactive features.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes