There was an article on Hacker News that got my attention: Counterintuitive problem: Everyone in a room keeps giving dollars to random others. You’ll never guess what happens next. This article was submitted a few times to Hacker News 1, 2, 3, 4.
Seeing the simulation, I wouldn't believe it at first, since I didn't expected the shown result. In this repository, I am going to reproduce the experiment, not in R but with JavaScript and the fancy d3 library.
After running the experiment multiple times, it verifies the results in the article.
- Run
bower install
in theEconomicSimulation
directory. - Run a static webserver from the
EconomicSimulation
directory (e.g.cd EconomicSimulation && python3 -m http.server 8080
)
- Remove all VS stuff
- Remove Bower and add yarn
- Add Webpack
- Add CSS to Webpack
- Minify HTML
This repository is licensed under the MIT License