Skip to main content
100%

D3 Scatter plot

✓ Published0🌍 Public
AAshwani Sajwan
Last edited Apr 24, 2024
Created on Apr 24, 2024
Forked from SVG Fundamentals

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 description

A demo of svg

MIT Licensed

Similar vizzes