Skip to main content
Public

Share visualization

Loading preview…

svg circle

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

svg circle

1
TTehran Mammadov
Last edited Jun 14, 2022
Created on Jun 14, 2022
Forked from HTML Starter

This example renders 100 horizontal rectangles on an SVG canvas, with a circular mask applied so only the area inside a 200-pixel-radius circle centered on the screen is visible. The rectangles are spaced every 20 pixels vertically, each 10 pixels tall and spanning the full window width. The code creates the SVG elements using the native `document.createElementNS` API, building a mask containing a white circle and attaching it to each rectangle via the `mask` attribute. The visualization demonstrates basic SVG masking and procedural element creation in a browser environment.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed