Cubism.js - A D3 Plugin for Visualizing Time Series
Join the DZone community and get the full member experience.
Join For Free
cubism.js
is a d3 plugin for visualizing time series. use cubism to construct
better realtime dashboards, pulling data from graphite, cube and other
sources.
cubism fetches time series data incrementally: after the initial display, cubism reduces server load by polling only the most recent values. cubism renders incrementally, too, using canvas to shift charts one pixel to the left. this approach lets cubism scale easily to hundreds of metrics updating every ten seconds! despite asynchronous fetching, rendering is synchronized so that charts update simultaneously, further improving performance and readability.
cubism also scales in terms of perception: small multiples aligned by time facilitate rapid comparison. cubism’s horizon charts make better use of vertical space than standard area charts, allowing you to see many more metrics at-a-glance and increasing the likelihood of discovery.
cubism is data-source agnostic. it has built-in support for graphite and cube, and can be readily extended to fetch data from other sources. client-side metric arithmetic allows further flexibility by combining metrics from multiple sources. cubism’s modular components are designed for extensibility. you can add new chart types and modes of interaction, too. cubism builds on d3, making it highly customizable via css and javascript.
requirements : d3.js
demo : http:/ / square. github. com/ cubism/
license : apache license v2.0
cubism fetches time series data incrementally: after the initial display, cubism reduces server load by polling only the most recent values. cubism renders incrementally, too, using canvas to shift charts one pixel to the left. this approach lets cubism scale easily to hundreds of metrics updating every ten seconds! despite asynchronous fetching, rendering is synchronized so that charts update simultaneously, further improving performance and readability.
cubism also scales in terms of perception: small multiples aligned by time facilitate rapid comparison. cubism’s horizon charts make better use of vertical space than standard area charts, allowing you to see many more metrics at-a-glance and increasing the likelihood of discovery.
cubism is data-source agnostic. it has built-in support for graphite and cube, and can be readily extended to fetch data from other sources. client-side metric arithmetic allows further flexibility by combining metrics from multiple sources. cubism’s modular components are designed for extensibility. you can add new chart types and modes of interaction, too. cubism builds on d3, making it highly customizable via css and javascript.

requirements : d3.js
demo : http:/ / square. github. com/ cubism/
license : apache license v2.0
Time series
Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments