Skip to main content
100%

DataViz Starter

✓ Published0🌍 Public
WWilson
Last edited May 7, 2022
Created on May 5, 2022
Forked from HTML Starter

A minimal SVG-based starter template for data visualization, this example renders a single empty red rectangle onto a 960x500 canvas. It demonstrates the fundamental pattern of creating SVG elements programmatically through the Document Object Model (DOM) APIs, specifically using `document.createElementNS` and `setAttribute` to construct and configure the shape. The code shows the basic structure for bootstrapping a visualization project, with inline CSS resetting the page margins and hiding overflow. The approach highlights raw JavaScript manipulation of the SVG namespace without any additional libraries or data, serving as a foundation for more complex visualizations.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes