HTML Starter
✓ Published0🌍 Public
This example displays a simple yellow smiley face with black eyes and a mouth, drawn as SVG shapes on a 960 by 500 pixel canvas. It demonstrates the basic setup of a D3 visualization in an HTML page, using the D3 v5 library to select the SVG element and append circles and a path. The mouth is created with D3's `d3.arc` function, defining inner and outer radii and a semicircular angle range. The code imports `select` and `arc` from D3, and the page loads D3 from a CDN.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed