{"version":"1.0","type":"rich","title":"Draw SVG Rounded Rectangle Path","description":"This example demonstrates how to construct an SVG path string for a rounded rectangle with independently specified corner radii. The code defines a `roundedRectData` function that returns the full path data using SVG path commands, including `M`, `L`, `A` (arc), and `Z`. The function takes width, height, and four corner radius parameters, making it flexible for varied shapes. The implementation is plain JavaScript with no external libraries, relying solely on the SVG path syntax for rendering. It shows the precise coordinate calculations needed to create smooth rounded corners.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-f87d7d5b81abcd379fda5fa6d68bda46?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}