Add a histogram example to the random dice documentation (#2087)

This commit is contained in:
Joseph T. Lyons
2020-07-02 00:24:28 -04:00
committed by GitHub
parent 7be49e43fd
commit ba5d774fe1

View File

@ -54,6 +54,30 @@ true
───┴──── ───┴────
``` ```
```shell
> random dice --dice 1024 --sides 16 | wrap dice | histogram dice | sort-by count
────┬──────┬───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────
# │ dice │ count │ frequency
────┼──────┼───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────
01554 │ ***********************************************************************
1755 │ ************************************************************************
2156 │ *************************************************************************
31657 │ ***************************************************************************
4557 │ ***************************************************************************
5361 │ ********************************************************************************
61162 │ *********************************************************************************
71464 │ ************************************************************************************
8965 │ *************************************************************************************
91266 │ **************************************************************************************
10467 │ ****************************************************************************************
11269 │ ******************************************************************************************
12869 │ ******************************************************************************************
13671 │ *********************************************************************************************
141375 │ **************************************************************************************************
151076 │ ****************************************************************************************************
────┴──────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────
```
## uuid ## uuid
* `random uuid`: Generate a random uuid4 string * `random uuid`: Generate a random uuid4 string