Histogram for numerical estimation questions
We need the possibility to render some charts to show the distribution of answers. Since we are already using d3 this should be the library to use for this feature.
Acceptance Criterias:
-
Render different charts (pie & bar) for all question types in the backend -
The charts should be made available as svg to the client via api requests (We are already using this architecture for mathjax formulas) -
The charts should be visible in a new component reachable from the quiz results after a quiz round has been finished -
The button should be next to the buttons which are navigating to the leaderboard and to the question details -
The charts should be rendered in the excel export file. Since this is not supported by the excel library we need to render the chart as an image (see ws.addImage()) and add it to the worksheet. We are already using the sharp libary in the backend so we can convert the svg to png with this library (see here) -
Since we will have more features with graphs the implementation should be as generic as possible
Quality Criterias:
-
Unit tests for the backend are written with an overall code coverage > 60% -
Unit tests for the frontend are written with an overall code coverage > 60% -
No linting errors are reported in the frontend or the backend -
For the backend and frontend exists a merge request to the staging branch -
Changes to the frontend are responsive designed
Feature request:
bei der Suche nach einem webbasierten Audience Response System bin ich auf ARSnova gestoßen und wäre sehr an eine Nutzung interessiert. Für eine Veranstaltung zur Einführung in das Messen und Auswerten von Daten bin ich allerdings speziell auf der Suche nach einer Funktion, die eine freie numerische Eingabe (am besten mit Fließkomma) erlaubt und die Ergebnisse in Form eines Histogramms angibt. Auf Anhieb bin ich bei ARSnova nicht auf eine derartige Funktion gestoßen und würde mich über eine kurz Antwort freuen, ob ein solches Feature existiert oder evtl. in Zukunft zu haben wäre.