Skip to main content
100%

Blank Canvas

✓ Published0🌍 Public
Ccodexmon
Last edited Jun 29, 2020
Created on Jun 29, 2020
Forked from Blank Canvas

A blank, fixed, full-viewport SVG canvas is drawn using D3 (d3.v5). The visualization only renders a single rounded rectangle covering the entire browser window, with no underlying data or marks beyond this base shape. The code uses D3’s `select` and `attr` methods to size the SVG to the viewport’s clientWidth and clientHeight, applying rounded corners via `rx`. It relies on HTML `body` CSS for positioning and uses a simple SVG `rect` element for output.

AI-generated description
MIT Licensed

Similar vizzes