Skip to main content
100%

SVG Example

✓ Published2🌍 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.

MIT Licensed

Similar vizzes