{"version":"1.0","type":"rich","title":"closer","description":"Two line charts show how values change over time for different series. The visualization displays two buttons that switch between two distinct datasets: one containing series A and B, the other containing only series C. Built with D3 v4, the code uses d3.line, d3.scaleLinear, d3.scaleOrdinal, and d3.schemeCategory10 to render SVG paths with distinct colors per series. Axes are drawn with crispEdges rendering, and button clicks trigger an update function that rebinds data, redraws lines, and removes exiting series.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-8b31486af2e39159be8c58e36055a528?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}