Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Blank canvas

Public visualization

Blank canvas

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed