Timeline Distribution graph

#### Description

The geometric experiment consists of performing Bernoulli trials, with probability of success $$p$$, until the first success occurs. In the timeline, the failures are shown as green dots and the success as a red dot. The number of trials $$V$$ is recorded on each update in the data table. This random variable has a geometric distribution. The probability density function and moments of $$V$$ are shown in blue in the distribution graph and are recorded in the distribution table. On each update, the empirical density function and moments of $$V$$ are shown in red in the distribution graph and are recorded in the distribution table. The parameter $$p$$ can be varied with an input control.