This project tracks my d20 roll statistics for the Dungeons & Dragons games I participate in.
Table of contents:
- Global Statistics
- Campaign Statistics
- FAQ
Here's a histogram of all aggregated rolls across all campaigns:
and the overall statistics:
| count | mean | stddev | Q1 | median | Q3 |
|---|---|---|---|---|---|
| 253 | 9.44 | 5.75 | 4 | 9 | 14 |
Here's a histogram of all aggregated rolls for the 'one-shot-gang' campaign:
and the per-session statistics:
| session | count | mean | stddev | Q1 | median | Q3 |
|---|---|---|---|---|---|---|
| aggregate | 21 | 9 | 6.73 | 2 | 9 | 15 |
| session-01 | 21 | 9 | 6.73 | 2 | 9 | 15 |
Here's a histogram of all aggregated rolls for the 'tyranny-of-dragons-1' campaign:
and the per-session statistics:
| session | count | mean | stddev | Q1 | median | Q3 |
|---|---|---|---|---|---|---|
| aggregate | 232 | 9.48 | 5.74 | 5 | 9 | 14 |
| session-01 | 24 | 9.79 | 6.93 | 3.50 | 10 | 13 |
| session-02 | 21 | 9.57 | 5.80 | 5 | 8 | 14 |
| session-03 | 14 | 11.07 | 7.21 | 8 | 11 | 15 |
| session-04 | 22 | 10.64 | 7.97 | 5 | 10 | 16 |
| session-05 | 31 | 8.84 | 6.42 | 4 | 8 | 14 |
| session-06 | 23 | 9.26 | 6.30 | 6 | 8 | 13 |
| session-07 | 18 | 12.78 | 6.68 | 9 | 15 | 17 |
| session-08 | 26 | 6.92 | 5.09 | 2 | 6 | 10 |
| session-09 | 4 | 14.50 | 11.76 | 11 | 16 | 18 |
| session-10 | 11 | 8 | 6.40 | 4 | 7 | 13 |
| session-11 | 10 | 11.60 | 7.96 | 5 | 14.50 | 15 |
| session-12 | 2 | 7 | 6.32 | |||
| session-13 | 11 | 8.64 | 5.16 | 6 | 10 | 12 |
| session-14 | 15 | 7.07 | 5.62 | 3 | 6 | 10 |
- csvizmo installed in your
$PATH- gnuplot
- csvtool
- Fedora:
sudo dnf install ocaml-csv - Ubuntu:
sudo apt install csvtool
- Fedora:
-
Add a
session-<index>.csvfile todata/<campaign>/sessions/. The file should have two columns:session: The session numberroll: The d20 roll value
-
Run the
./scripts/add_session.shscript. It will discover the newly created session file and update the campaign statistics accordingly../scripts/add_session.sh
-
Sanity check the changes to the README:
git diff README.md
-
Commit and push
- Create
data/<campaign>/sessions/ - Create
figures/<campaign>/sessions/ - Add your campaign's first session with the process above


