{"version":"1.0","type":"rich","title":"Updatable D3.js Charts.","description":"Two updatable bar charts demonstrate how D3.js v5 charts can be modified after initial rendering. The example uses JavaScript closures to create reusable chart functions, with `select` and `max` imported from D3. The charts display arrays of running miles and temperature data, rendered as SVG rectangles with animated transitions. The `transition().duration(900)` API animates updates to data, width, and fill color, while `.data()` and `.fillColor()` methods allow property changes at runtime.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/af52306bb7d0458485b241e385935e2d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}