Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Interactive visualizations of time series using JavaScript and the HTML canvas tag
JavaScript HTML Other
Latest commit dd74404 @danvk Merge pull request #692 from musicist288/zero-coordinate-bugs
Allow selected points where canvas-y coordinate is 0

Build Status Coverage Status

dygraphs JavaScript charting library

The dygraphs JavaScript library produces interactive, zoomable charts of time series:

Learn more about it at

Get help with dygraphs on Stack Overflow (preferred) and Google Groups


Minimal Example

<script type="text/javascript" src="dygraph-combined.js"></script>
<div id="graphdiv"></div>
<script type="text/javascript">
  g = new Dygraph(
        document.getElementById("graphdiv"),  // containing div
        "Date,Temperature\n" +                // the data series
        "2008-05-07,75\n" +
        "2008-05-08,70\n" +
        { }                                   // the options

Learn more by reading the tutorial and seeing demonstrations of what dygraphs can do in the gallery.


To get going, clone the repo and run:

npm install
npm run build

Then open tests/demo.html in your browser.

Read more about the dygraphs development process in the developer guide.


dygraphs is available under the MIT license, included in LICENSE.txt.

Something went wrong with that request. Please try again.