Dygraphs draws interactive, zoomable time series charts in the browser using JavaScript and the HTML canvas. It runs without Flash or a charting backend.
Overview
dygraphs is a JavaScript charting library focused on time series. It renders interactive, zoomable charts in the browser using the HTML canvas tag and does not require Flash or an external charting server.
Features include pan and zoom, mouseover value display, error bands around series, adjustable averaging via a roller control, and a large set of customization options. It can plot very large point counts and works in recent browsers, including pinch-to-zoom on mobile and tablet devices.
You can install it from npm and import it through bundlers such as browserify or webpack. Prebuilt JS and CSS files are also available from common CDNs. The library is compatible with the Google Visualization API.
Community support is available through Stack Overflow, a mailing list, tutorials, a demo gallery, and an active development community.
Key features
- Canvas-based time series plots
- Pan, zoom, and mouseover values
- Error bands around series
- Adjustable averaging period
- No external server required
- npm and bundler imports
- Google Visualization API compatibility
- Extensive chart options
Use cases
- Exploring dense time series in the browser
- Embedding charts in web dashboards
- Plotting temperature or sensor histories
- Large datasets without server-side rendering