GithubHelp home page GithubHelp logo

nogtini / d3-horizon-chart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kmandov/d3-horizon-chart

0.0 1.0 0.0 653 KB

D3.js plug-in that draws horizon charts using canvas

Home Page: http://kmandov.github.io/d3-horizon-chart/

License: MIT License

JavaScript 100.00%

d3-horizon-chart's Introduction

d3 horizon chart

d3-horizon-chart

npm version

d3-horizon-chart is a d3 plugin that draws horizon charts using an Html5 Canvas. It provides an easy way to visualize large amounts of time series data.

The plugin is heavily inspired by cubism.js, but doesn't make assumptions about real-time metrics and back-end servers such as Cube/Graphite. This makes it a good fit when you just want to plot your data as a horizon chart.

d3-horizon-chart follows the latest plugin guidelines using D3โ€™s new 4.0 module pattern.

Examples

Check out the project page for more examples.

Installing

If you use NPM, npm install d3-horizon-chart. Otherwise, download the latest release.

API Reference

# horizonChart()

Constructs a new horizonChart generator with the default settings.

# horizon.height([height])

If height is specified, sets the height of the chart to the specified number and returns this horizonChart generator. If height is not specified, returns the current height accessor, which defaults to:

function height() {
  return 30;
}

d3-horizon-chart's People

Contributors

kmandov avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.