Skip to main content
Public

Share visualization

Loading preview…

SVG Fundamentals

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 Fundamentals

0
TTiago de Oliveira
Last edited Mar 26, 2024
Created on Mar 26, 2024

This example demonstrates the fundamental building blocks of SVG graphics embedded directly in an HTML page. It shows two circles rendered with SVG, one using the default black fill and the other explicitly set to red via the `fill` attribute, alongside a large text element styled through CSS. The visualization uses raw SVG elements within the HTML markup, with the `<circle>` and `<div>` tags, and applies styling through a `<style>` block. No JavaScript libraries are involved, relying solely on the native SVG API to illustrate basic vector rendering.

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