Skip to main content
Public

Share visualization

Loading preview…

SHAPES WITH SVG

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

SHAPES WITH SVG

0
Mmuddcohd
Last edited May 9, 2022
Created on May 9, 2022
Forked from HTML Starter

This example demonstrates basic SVG shape composition and styling within a React framework. It shows circles, rectangles, lines, and a path arranged in groups, with attributes like fill, stroke, and stroke-width applied both inline and through CSS classes. The code uses standard SVG elements (`circle`, `rect`, `line`, `path`) and CSS rules to control appearance, including a yellow group with a black outline and a blue path with round line joins. The rendering relies on the browser’s native SVG support, with transformations applied via the `scale` and `translate` attributes.

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