Skip to content

Show standard deviation in grades using error bars#117

Merged
yutotakano merged 2 commits into
compsoc-edinburgh:masterfrom
yutotakano:error-bars-in-graphs
Jun 14, 2026
Merged

Show standard deviation in grades using error bars#117
yutotakano merged 2 commits into
compsoc-edinburgh:masterfrom
yutotakano:error-bars-in-graphs

Conversation

@yutotakano

Copy link
Copy Markdown
Member

We create another set of series in the grades chart, with the name [EUCLID-CODE]-stddev. This uses a custom render function to draw three lines (vertical, horizontal, horizontal) to replicate error bars. When a series without the -stddev suffix is hovered, we programmatically show the corresponding series with the -stddev suffix. When the mouse is no longer hovering, we also programmatically hide the corresponding stddev series (but only after a short delay, to prevent rapid flickering when the mouse is moved imprecisely along a series).

The positive and negative side "errors" are the same length for all points since we use the standard deviation.

Before msedge_2026-06-14_10-21-36
After msedge_2026-06-14_10-22-17

@yutotakano yutotakano merged commit fd52791 into compsoc-edinburgh:master Jun 14, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 14, 2026
@yutotakano yutotakano deleted the error-bars-in-graphs branch June 14, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant