Skip to main content
100%

Line Plot with menu

✓ Published1🌍 Public
WW9183907
Last edited May 24, 2020
Created on May 19, 2020

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 description
MIT Licensed

Similar vizzes