Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Blank Canvas

Public visualization

Viewing a saved revision (read-only)

fd85abfefa4d4f2bb1157a08c375dee1

Blank Canvas

0 stars0🌍 Public
XX. N. Chu
Last edited Jun 21, 2020
Created on Jun 21, 2020
Forked from Blank Canvas

A blank SVG canvas displays only a single purple rectangle with rounded corners. The example uses D3 v5's `select` and `append` methods to draw the shape, reading the SVG's width and height attributes as numeric values. The page's background is set to a solid magenta color via CSS, with the body fixed to prevent scrolling. The code logs the browser's client dimensions to the console, which are not otherwise used in the visualization.

AI-generated description