
This book combines detailed scientific historical research with characteristic philosophic breadth and verve.
The latter book has a Wikipedia page with some more info - was surprised to see Hacking not mentioned here since the featured article is partly based on his work: https://en.wikipedia.org/wiki/The_Taming_of_Chance
Ian Hacking has two books, he is a philosopher, accordingly they have a broader outlook: "The Taming of Chance" "The Emergence of Probability"
Stephen Stigler's "The History of Statistics" seems to be the most popular history of statistics.