Skip to main content
100%

SVG with HTML

✓ Published0🌍 Public
SSushant Kunkekar
Last edited Jul 16, 2019
Created on Jul 16, 2019
Forked from Car Report

This example demonstrates a static SVG scene composed of basic geometric shapes—a magenta circle, a red rectangle, a thick black line, and a triangular path—drawn directly in the HTML markup with fixed coordinates and styling. The page also includes a JavaScript module that imports D3’s `select` function to update the text of a `#message` div, while a separate CSS file sets a cyan background and hides overflow. The rendering relies entirely on SVG elements defined in the source, with no data binding or interaction.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes