#098 | Simulating An Epidemic Outbreak With JavaScript — Part 8
Published in
2 min readApr 6, 2020
TLDR: I made an epidemic outbreak simulation that can be played here.
Counting Results
Here’s how I counted the results that were pushed into my charts and updated on the screen. The count function runs every time after I’ve updated the status of each of my beans in the world.