{"version":"1.0","type":"rich","title":"learning d3 lines","description":"A text area accepts typed integer pairs, and each line of input becomes a point in a two-dimensional path rendered as an SVG line graph on a dark background. The visualization updates live on every keystroke, using D3’s `d3.svg.line` to map coordinates and appending a `path` element to the SVG canvas. The code also displays the raw SVG `d` attribute of the generated path in a paragraph below, making the underlying vector data visible. Data is parsed from whitespace-separated integers in the textarea, and the path is redrawn from scratch on each input event.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3ef706c5b595a07bfa07?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}