The current version of dygraphs is 2.2.0. Most users will want to download minified files for this version:

dygraph.min.js

dygraph.js

dygraph.css

There's a hosted version of dygraphs on UNPKG:

    <script type="text/javascript" src="https://unpkg.com/dygraphs@2.2.0/dist/dygraph.min.js"></script>
    <link rel="stylesheet" type="text/css" href="https://unpkg.com/dygraphs@2.2.0/dist/dygraph.min.css" />

There's a hosted version of dygraphs on cdnjs.com:

    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/dygraph/2.2.0/dygraph.min.js"></script>
    <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/dygraph/2.2.0/dygraph.min.css" />

But note that use of CDNs violates the EU-GDPR. You can also install dygraphs locally into your project instead using NPM:

    $ npm install dygraphs
      # dygraphs is now in node_modules/dygraphs/dist/dygraph.{css,js} for
      # the browser, and node_modules/dygraphs/index{,.es5}.js for nodejs

Most distributions include a source map to facilitate debugging.

To generate your own minified JS, install the prerequisites…

- `mksh`
- `pax`
- `python3`

… and run:

    git clone https://github.com/danvk/dygraphs.git
    cd dygraphs
    npm install
    npm run build-jsonly

This will create a `dygraph.min.css` and a `dygraph.min.js` file in the `dist` directory.

You may also download files for previously-released versions:

- 2.1.0: dygraph.min.js, dygraph.js, dygraph.css (2.1.0 docs)
- 2.0.0: dygraph.min.js, dygraph.js, dygraph.css (2.0.0 docs)
- 1.1.1: dygraph-combined.js, dygraph-combined-dev.js (1.1.1 docs)
- 1.1.0: dygraph-combined.js, dygraph-combined-dev.js (1.1.0 docs)
- 1.0.1: dygraph-combined.js (1.0.1 docs)
- 1.0.0: dygraph-combined.js (1.0.0 docs)

See Version History for more information on each release.