Skip to main content
100%

Blank Canvas

✓ Published1🌍 Public
HHe Jianfeng
Last edited Apr 11, 2021
Created on Apr 11, 2021

This example presents a minimalist, full-screen blank canvas rendered as a rounded rectangle. The visualization simply sizes an SVG element to the browser window's dimensions and fills it with a single rounded rectangle, offering no data or interaction. The code uses D3 v6's `select` function to target the SVG element and its attribute chaining to set width, height, and corner radius. The rendering approach relies on the SVG `rect` element, with dimensions derived directly from the document body's client width and height.

AI-generated description
MIT Licensed

Similar vizzes