Content Deep Dive
Visualizing Time Series Data with Dygraphs
Blog post from InfluxData
Post Details
Company
Date Published
Author
Margo Schaedel
Word Count
704
Language
English
Hacker News Points
-
Summary
This post walks through how to visualize dynamically updating time series data stored in InfluxDB using the JavaScript graphing library Dygraphs. To begin, sample data from InfluxDB is queried periodically on the frontend, and then fetched from InfluxDB using the HTTP API. The fetched data is then used to construct a graph using the Dygraphs constructor function, which includes options such as title, labels, and stroke width. Additionally, an interval is set to fetch new data every five minutes, allowing for dynamic updates of the graph over time.