The Primary Controls:
The

button below builds a
Random generated sample election,
& loads and displays
this data per voter in the ACTIVE TABLE,
with summarized totals per candidate in the TOTALS TABLES.
The

button reloads the Active sample at any time.
The

Menu provides us with 2 different options in stepping through the ballot
counting process, the quickest is Opt 2 which eliminates each candidate in two clicks,
and Opt 3 in 3, After an option is selected, then click
the "Make Sample" or "Reload Sample" button to show the
new options & reset the displays.
Next, the Demo allows us to step through the Elimination Process
one step at a time using the Step buttons,

&

With each button click, we see the Vote Totals & Choice positions
change. Try it, click the Steps one after the other, eliminating
the weakest candidates until a winner is chosen.
Try steping through again, with each Step button there is also a
"Show Hints" button

which helps describe more details.
The more you test it, the more you will see it's accuracy, It's importent to understand how the
remaining Choices are Shifted Up after each elimination, the

#Steps Opt 3 which shows the Step B button

with "hints on"
will help in seeing the shifting.
Once you see how the shifting works, you may want to speed up the demo, to easier see how the
Totals Tables change, by using the

button.