🌍 Public
Viewing a saved revision (read-only)
e0851e906c7e42deb22106ebe71ba091
Lets make a face with D3.js
This example draws a static face using D3.js version 5 within an SVG canvas. The code selects the SVG element and appends a single circle, setting its radius to 200 pixels and centering it based on the SVG’s height and width attributes. The rendering relies on D3’s selection and attribute methods, with a simple stylesheet providing a full-bleed layout. The visualization demonstrates basic SVG shape creation through D3’s imperative API, using no external data sources.
AI-generated descriptionAn example showing the capabilities of VizHub.