Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Blank Canvas

Public visualization

Blank Canvas

1 star1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed