Skip to main content
100%

Hello VizHub

✓ Published0🌍 Public
YYogesh Joshi
Last edited Jul 19, 2019
Created on Jul 19, 2019
Forked from Hello VizHub

This example draws a simple smiley face in a yellow circle on an SVG canvas. Using d3 v5, it imports `select` and `arc` from the D3 library to build the elements. The code positions a centered group, then adds circles for the face and eyes, with an arc path for the mouth based on specified radii and angles. All shapes are rendered as SVG primitives with hardcoded coordinates, requiring no external data source.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes