/timeseries

A D3.js timeseries.

Primary LanguageJavaScriptOtherNOASSERTION

Timeseries

A D3.js timeseries.

ScreenShot

Quickly and easily display temporal data. Filter using the optional brush. Check out the live demo with documentation!

Usage
  • Get the source code
  • Put it in your project's directory
  • Include it in your index.html (or similar)
<script src="<path to>\timeseries\timeseries.js"></script>
  • Include default styles if desired
<link rel="stylesheet" href="<path to>\timeseries\style.css" />
  • Add a DOM container
<div class="timeseries"></div>
  • Create it!
      <script>
        window.onload = function() {
          var domEl = 'timeseries';
          var data = [{'value': 1380854103662},{'value': 1363641921283}];
          var brushEnabled = true;
          timeseries(domEl, data, brushEnabled);
        }
      </script>