Skip to main content
100%

Blank canvas

✓ Published1🌍 Public
JJacob van Lingen
Last edited May 18, 2020
Created on May 18, 2020

This blank canvas demonstrates an empty SVG viewport that fills the browser window. The visualization shows a single rounded rectangle covering the entire display area, creating a blank slate. The code uses D3 v5's `select` method to target the SVG element and chain attribute setters for width and height. It retrieves the viewport dimensions from `document.body.clientHeight` and `document.body.clientWidth`, then appends the rectangle with rounded corners via the `rx` attribute, all rendered as vector graphics.

AI-generated description
MIT Licensed

Similar vizzes