D3 Scatter plot
✓ Published0🌍 Public
This example demonstrates fundamental SVG shapes and styling within an HTML page. It shows a circle, a rectangle, and a line positioned on a canvas with a visible border. The circle uses a blue stroke with no fill, the rectangle is filled green with a blue border, and the line is drawn in red. The code directly uses the SVG API with elements like `<circle>`, `<rect>`, and `<line>`, and sets coordinates and dimensions through attributes. The rendering is handled entirely through inline SVG within the `index.html` file, with no external data sources or additional JavaScript libraries.
AI-generated descriptionA demo of svg
MIT Licensed