🌍 Public
d3-svg-fundamentals
This example demonstrates fundamental SVG shapes rendered directly in a browser, including circles with fill colors, a rectangle with stroke styling, and a line with a stroke width. The page uses plain HTML, CSS, and JavaScript within an inline SVG element of 600 by 400 pixels. It showcases explicit coordinate attributes like `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, and `stroke` properties, serving as a bare-minimum introduction to SVG syntax without any external libraries. The code includes a reference to a separate React starter variant for further exploration.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.