{"version":"1.0","type":"rich","title":"Java Script","description":"This example displays a blank, fixed-size SVG canvas. It creates an SVG element and appends it to the document body, then attempts to add a 100-by-100 pixel rectangle. The code uses the native DOM APIs `document.createElementNS` and `setAttribute` for SVG construction, but the rectangle is mistakenly appended to `svg.body` rather than the SVG root, so the rectangle never renders. The visualization ultimately shows only an empty 960×500 viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/18f2e38d8e444c52aff5553003c3b114?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}