d3-random is a JavaScript library offering a diverse toolkit for generating random numbers following various probability distributions. Part of the popular D3.js ecosystem, it provides functions for uniform, normal (Gaussian), exponential, and other distributions, enhancing simulations and data visualizations. It's perfect for adding controlled randomness to your projects, ensuring reproducible results and statistical accuracy in simulations and data generation tasks.
The d3-random package saw initial releases in 2014-2016 with multiple versions. Releases continued sporadically until 2021, peaking in 2015 (5 releases) and 2020 (4 releases). The last release was in June 2021. There have been no releases from July 2021 to August 2025.
D3-random downloads show a clear upward trend from March 2024 to August 2025. Starting at 9.3 million, downloads peaked at 18.7 million in July 2025. August 2025 shows a slight decrease to 17 million, but is still substantial, though potentially incomplete as the month ends today.