dygraphs JavaScript Visualization Library
http://github.com/danvk/dygraphs
-See gallery and open issues
The dygraphs JavaScript library produces produces interactive, zoomable charts of time series. It is designed to display dense data sets and enable users to explore and interpret them.
+dygraphs is an open source JavaScript library that produces produces interactive, zoomable charts of time series. It is designed to display dense data sets and enable users to explore and interpret them.
A demo is worth a thousand words:
@@ -164,7 +165,7 @@ See gallery andUsage
-To use dygraphs, include the dygraph-combined.js
JavaScript file and instantiate a Dygraph
object.
To use dygraphs, include the dygraph-combined.js
JavaScript file and instantiate a Dygraph
object.
Here's a basic example to get things started:
@@ -389,6 +390,25 @@ commas in parameter lists, e.g.Most browsers will ignore the trailing comma, but it will break under IE.
+GViz Data
+The Google + Visualization API provides a standard interface for describing data. Once +you've specified your data using this API, you can plug in any GViz-compatible +visualization. dygraphs is such a visualization.
+ +For a simple demonstration of how to use dygraphs a GViz visualization, see
+this page. dygraphs can
+also be used as a GViz gadget. This allows it to be embedded inside of a Google
+Spreadsheet. For a demonstration of this, see this
+ spreadsheet. The URL for the gadget is
+http://danvk.org/dygraphs/gadget.xml
.
Here's an example of a published gviz gadget using dygraphs:
+ + +Charting Fractions
Situations often arise where you want to plot fractions, e.g. the fraction of respondents in a poll who said they'd vote for candidate X or the number of hits divided by at bats (baseball's batting average). Fractions require special treatment for two main reasons: