Skip to main content
Public

Share visualization

Loading preview…

API DOM

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

API DOM

0
Mmarc.chatton@outlook.com
Last edited Jan 6, 2026
Created on Jan 6, 2026

This example displays a full-screen abstract pattern of 100 horizontal and 100 vertical SVG rectangles, layered to create a grid. A white circular mask is applied to the horizontal bars, cropping them within a centered ring while the vertical bars span the entire viewport. The visualization is built entirely with the SVG DOM API, using `document.createElementNS` to construct each rect, mask, and circle, and relies on `window.innerWidth` and `window.innerHeight` to size the canvas. The code draws no explicit data, instead showcasing a programmatic composition inspired by a Sol LeWitt lesson.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed