{"version":"1.0","type":"rich","title":"One Slider Affecting Two Charts","description":"This example shows two identical bar charts displaying capital gains by sector, with a slider that selects a date to update both charts simultaneously. The code uses D3 v7 to parse CSV data, nest it by date, and render SVG bar charts with axes. A range input controls the selected date, triggering the `updateCharts` function to rebuild both charts with new data. The visualization demonstrates how a single UI control can synchronize multiple views of a dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1e05d90a123c4e12a18a7bb84a1df948?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}