Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Plot with menu

Public visualization

Line Plot with menu

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed