jeroenheijmans / advent-of-code-surveys

Advent of Code (unofficial) Surveys
Other
41 stars 2 forks source link

Slicing: filter all data on the dashboard on a specific slice #10

Open jeroenheijmans opened 2 years ago

jeroenheijmans commented 2 years ago

Something we lost when going from PowerBI (past years) to a custom built web interface is some interactivity, most notably the ability to "slice" the data.

Suppose you click on the vertical bar for "Rust" as a language. It would then be super nice to have all the other charts respond to this, by using a filter on that language. Quite important would be to have Chart.js properly animate the bars after the change, to help grasp the impact of such a filter.

In short, clicking a data bar should:

jeroenheijmans commented 9 months ago

I really wanted to do this for 2023, but didn't end up getting to it. I do have a git diff with a proof of concept, which I might clean up and leave here somewhere to build from for a next edition.