0.5.0 • Published 6 years ago

pixel-charts v0.5.0

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

pixel charts

Simple charting library with lines between values represented as series of boxes and 0 runtime dependencies.

example

Installation

npm install pixel-charts --save

Example

import chart from 'pixel-charts';

function exampleUsage() {
  const options = {
    // Y axis is scaled to match these values
    data: [10, 15, 30, 60],
    // Optional
    height: 400,
    // Optional
    increment: 10,
    // Optional
    chartId: 'example-chart'
  };

  chart(options);
}

window.onload = exampleUsage;

Check out the full example for more.

Why?

I wanted "retro looking" charts for a stock tracker I'm working on and didn't really see any options. This led to me trying to figure out what a "retro looking" chart even is (still trying to make it look better, help is welcome). I think there are possibly some cool ways to visualize and animate data with boxes instead of lines.

0.5.0

6 years ago

0.4.0

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago