Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Example

Public visualization

SVG Example

0 stars2🌍 Public
JJinlin
Last edited Aug 9, 2019
Created on Aug 7, 2019
Forked from SVG Example

This example demonstrates basic SVG rendering with two overlapping rectangles—a red square and a semi-transparent blue square—positioned to show color blending. The visualization uses raw SVG elements defined directly in the HTML document, with explicit width and height attributes on the `<svg>` tag and fill colors applied via the `fill` property with RGBA values. The code also imports D3’s `select` function to update a separate message element, though the primary visual output relies solely on static SVG markup rather than data-driven generation.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed