Skip to main content
Public

Share visualization

Loading preview…

Blank Canvas.js

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

Blank Canvas.js

1
NNeepaB
Last edited Dec 22, 2020
Created on Dec 22, 2020

A blank, full-viewport SVG canvas displays a single rounded rectangle with softly curved corners. The visualization demonstrates a minimal D3.js v5 setup, using `select` to bind the SVG element and dynamically sizing it to the browser window's client dimensions. It sets the rectangle's width and height to match the viewport, with a corner radius of 40 pixels. The example serves as a clean starting point for building more complex visualizations, with styling applied through an external stylesheet that fixes the body and hides overflow.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed