Read Flow Metrics. Learned about Monte Carlo Simulations. Learned you can use that to make accurate estimations with lots of data points. It’s one thing to hear “Math.random in JavaScript isn’t random”, and another to see it after only 1,000 samples. SOO COOL!
Context: “If you run Math.random enough between 1 & 6, you’re most likely to get 3.5”.
Code: https://ellie-app.com/kVjPdGBbP2ka1
Uses Elm Charts (horribly, sorry, I didn’t spend time styling it)
Article which helped get me some code: https://questsincode.com/posts/monte-carlo-simulation-javascript