🌍 Public
Viewing a saved revision (read-only)
1f3e257f81b249a3b5efbb051a9e3259
shapes with svg
This example demonstrates basic SVG shapes—circles, rectangles, and a path—rendered on a red background using static markup in index.html. It shows how to apply fill colors, stroke styling, and group transformations using the `<g>` element, with shapes appearing both unstyled and with inline attributes. The code directly embeds SVG elements in HTML and uses a separate styles.css file that imports D3’s `select` function, though no dynamic data or interaction is present. The visualization relies solely on declarative SVG syntax without JavaScript-driven updates.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.