{"version":"1.0","type":"rich","title":"Line Plot with menu","description":"This line plot displays average marks per module across a department, with a dropdown menu to select which performance metric (PASS or FAIL) to visualize. The chart updates dynamically with a smooth transition when the selection changes. Built with D3 v5, it uses `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and a `line` generator with `curveBasis`. Data is loaded from a CSV file, and the dropdown is created using a reusable selection-based component that binds to the menu's `change` event.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/89430fb676ce413fb4121606908e1d06?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}