Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
LLuce Liu
Last edited Jan 10, 2020
Created on Jan 10, 2020
Forked from HTML Starter

This example demonstrates a simple smiley face drawn with SVG circles. The code selects the SVG element using d3.select, dynamically reads its width and height attributes, and positions a large yellow circle as the face with two smaller black circles for eyes. It uses D3 v5’s selection methods like append and attr to build the shapes, while the SVG canvas is set to 960×500 pixels in the HTML file.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes