Line Plot with menu
✓ Published1🌍 Public
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.
AI-generated descriptionMIT Licensed