home | dashboard-utils

description

dashboard-utils is a collection of useful modules for building interactive dashboards. It is built on top of the original adt library that Sony Mobile was so generous to open source.

installing


browser

Just include the required modules (and their dependencies):
<script src='module_name.min.js'></script>

node

npm install dashboard-utils

requirements

Some of the modules rely on external libraries. Here is a complete list of all dependencies:
d3@4
SVG manipulation library. [ website ]
topojson
Module for reading TopoJSON files. [ github ]
For module specific dependencies, see the documentation.

catalogue

Here is a list of some example code and features to help you start off with the library.

docs

Below you find the contents of the API documentation for the modules. With the exception of the widgets, each module is a standalone script that can be loaded and used as it is right out of the box. For the widgets, the module du.widget needs to be loaded first.

data

A collection of useful data structures for representing and manipulating various data sets.
documentationsource

math

Various mathematical structures and methods.

math.la

Linear algebra related classes and methods
documentationsource

rest

Some convenience methods for accessing REST APIs for different file formats.
documentationsource

signals

A module for managing event subscriptions and event emitters.
documentationsource

system

Namespace for system related operations such as logging and version management.

system.log

An enhanced logger for development and monitoring during production.
documentationsource

system.version

Module for automatic version checking and version updates.
documentationsource

user

Collection of methods for handling different user inputs
documentationsource

widget

The base class for all widgets. Methods implemented for this class are available for all dashboard components.
documentationsource

widgets

The namespace of all available dashboard widgets. Widgets can be charts showing data, control elements to interact with the data or static labels or hints.

widgets.areachart

An interactive area chart for volume like data.
exampledocumentationsource

widgets.barchart

An interactive bar chart for categorical data.
exampledocumentationsource

widgets.boxplot

An interactive box plot for multiple distributions.
exampledocumentationsource

widgets.bubblechart

An interactive bubble chart for small multidimensional data.
exampledocumentationsource

widgets.checkbox

Clean checkboxes.
exampledocumentationsource

widgets.chordchart

An interactive chord chart to visualize flow data.
exampledocumentationsource

widgets.grid

A flexible grid that can contain and manage multiple other widgets.
exampledocumentationsource

widgets.hint

Small text bubbles for providing aid to the user about the dashboard elements.
exampledocumentationsource

widgets.histogram

An interactive histogram for simple distributions.
exampledocumentationsource

widgets.infobox

An information window that can be used to provide more detailed description (help menu, about) for the dashboard
exampledocumentationsource

widgets.label

A static piece of text.
exampledocumentationsource

widgets.legend

A block of labels with colored squares to interact with the different quantities shown on the dashboard.
exampledocumentationsource

widgets.lineargauge

Gauge bar to show meaning of a value.
exampledocumentationsource

widgets.linechart

An interactive line chart for trend type data.
exampledocumentationsource

widgets.map

An interactive world map with convenience methods to show static or dynamic data.
exampledocumentationsource

widgets.multibarchart

Bar chart with multiple plots.
exampledocumentationsource

widgets.picture

A static image.
exampledocumentationsource

widgets.piechart

An interactive pie chart for visualizing low dimensional categorical data.
exampledocumentationsource

widgets.progressbar

Widget showing the status of a progress.
exampledocumentationsource

widgets.scatterplot

An interactive scatter plot for large correlated data sets.
exampledocumentationsource

widgets.semicirculargauge

Semi-circular shaped gauge bar to show meaning of a value.
exampledocumentationsource

widgets.slider

A slider control element to interact with the data in one dimension.
exampledocumentationsource

widgets.status

A static label with a value that can be dynamically updated.
exampledocumentationsource

widgets.trackpad

A two dimensional slider.
exampledocumentationsource

widgets.violinplot

An interactive violin plot for detailed comparison of distributions.
exampledocumentationsource