Skip to main content
100%

Blank Canvas

✓ Published3🌍 Public
AAli Ahmed
Last edited Dec 4, 2018
Created on Nov 29, 2018

This example creates a full-screen blank canvas as a rounded rectangle, filling the browser viewport with a clean, empty SVG scene. The visualization demonstrates how to set up a basic D3.js v5 environment, using the imported `select` and `arc` APIs from the D3 library. The code dynamically sizes the SVG to match the document body’s width and height, then appends a single styled rectangle to form the canvas backdrop. The page is fixed and overflow-hidden via CSS, ensuring the empty frame occupies the entire screen without scrollbars.

AI-generated description
MIT Licensed

Similar vizzes