Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
WWendy
Last edited Aug 21, 2022
Created on Aug 20, 2022
Forked from HTML Starter

This example demonstrates a minimal interactive web page that creates an SVG element dynamically using JavaScript and appends it to the document body. It constructs an SVG namespace, creates a rectangle element with a width attribute, and inserts it into the SVG container before adding the SVG to the page. The page uses standard DOM APIs such as `document.createElementNS` and `setAttribute`, along with CSS styling for a centered text message. The visualization itself is static, with no data source or additional interactivity beyond the initial SVG rendering.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes