{"version":"1.0","type":"rich","title":"6 - Update and revert Graph data","description":"Two buttons, Update and Revert, toggle between two CSV datasets that share the same date range but have different closing values. A single line chart animates smoothly as the path and both axes transition to the new data, with the y-axis rescaling to accommodate the changed price range. The example uses d3.svg.line for the path, d3.svg.axis for the axes, and transition() with a 750-millisecond duration to animate the updates. It demonstrates how to reuse the same scales and axes across multiple data loads while preserving a consistent visual context.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-631ffe20791be156bc4661ed15746c55?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}