Did you know that it's possible to simulate the number Pi? All you need to do is draw a circle, then take some random points in the bounds defined by the circle. The ratio of the points inside the circle to the total number of points will be equal to Pi.
This notebook shows simulates this with:
- Voila to interactively build a dashboard from the simulate_pi notebook
- ipywidgets to build the components of the dashboard
- bqplot to create interactive, widget-friendly visualizations.
Click the Binder link below, and you can play with this interactively: