polywag

A data visualization library built on top of Plotly.js

Usage no npm install needed!

<script type="module">
  import polywag from 'https://cdn.skypack.dev/polywag';
</script>

README

accessibility text

POLYWAG :chart_with_upwards_trend:

A data visualization library built on top of Plotly.js Current version : 0.0.1

This library provides fast and pre-built components to represent different kind of data in a clear and communicative way.

API

See /docs/index.html

Installation

yarn add polywag

Example

let data = {
    value: [1,2,3,4,5],
    timestamps: [1598368228264, 1598368240796, 1598368248441, 1598368256295, 1598368263938]
}

let hm = new TimeseriesComponent("chart-container", { title: "A chart", color: "Viridis" };

hm.update(data);

Build docs

Create template folder into project root
Clone docdash repo (http://clenemt.github.io/docdash/) into /template folder
yarn run generate-docs

Contributors

Mattia Ronzoni (https://github.com/ronzim)
Simone Manini (https://github.com/daron1337)

dvisionlab logo