Direct download for use in the browser

<script src="../path/to/statistics.min.js" type="text/javascript"></script>

Install from the command line

Download the latest version of statistics.js and save it to a folder accessible to your project. Simply reference the file and you’re good to go:

Install from the command line with NPM or Yarn:

$ npm install statistics.js $ yarn add statistics.js

And then require the module in your project: