{"version":"1.0","type":"rich","title":"creating a line","description":"This example shows a simple black line drawn on a white SVG canvas, with a short path segment branching off from its endpoint. The page renders directly in the browser using React and SVG elements, specifically the `line` and `path` tags. It demonstrates how to position coordinates with the `x1`, `y1`, `x2`, and `y2` attributes and how to define a custom stroke with the `path` `d` attribute, all within a fixed 1000×1000 viewport. The code does not load external data or process datasets.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8d570c29da4d4fc7be1b7affe90dc9c2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}