{"version":"1.0","type":"rich","title":"SVG fundamentals","description":"This example demonstrates the foundational use of SVG by creating an empty drawing surface and placing a single small rectangle on it. The code creates SVG elements programmatically using the `document.createElementNS` API with the SVG namespace, setting the canvas dimensions to 960 by 500 pixels. A rectangle is then added at coordinates (100, 100) with a width and height of 10 pixels each. This bare-minimum approach, using plain JavaScript without any libraries, illustrates how to construct vector graphics from scratch for later data visualization.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2773b9e811cb4fd88a7be852a03f9979?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}