Coin Toss

Built using D3 JavaScript library, this graphic show the distribution of Head and Cross over 1000 tosses.

The Y axis automatically set the range according the min and max values reached by the sum of launches (Head = +1 and Cross = -1), so all the data is always visible.

X axis stick to the 0 of the Y axis.

=> Demo

=> GitHub repository


Victorian Village 2019

Playing with JavaScript and D3.

Inspired by the book “How to Cut a Cake: And Other Mathematical Conundrums” of Ian Steward, I start to code some graphics to represent the coin toss probability.

Soon I will upload the demo and code with more details.

By now some screenshots:

Coin Toss probability
Working on 4 face dice probability