Skip to main content
Public

Share visualization

Loading preview…

BlankCanvas

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

BlankCanvas

1
OOhayouKaminari
Last edited Mar 1, 2020
Created on Feb 8, 2020
Forked from Let'smakeaface

BlankCanvas fills the browser viewport with a single rounded rectangle, using the full window dimensions captured from `document.body.clientWidth` and `document.body.clientHeight`. The example demonstrates a minimal SVG setup where D3 v5 selects the `<svg>` element and appends a `<rect>` with a 40-pixel corner radius. The rectangle remains static, illustrating basic attribute assignment and responsive sizing without interaction or data binding. Styles in CSS keep the page fixed and hide overflow, ensuring the shape always matches the visible area.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed