Skip to content

noraj/PixelChart

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gem Version AUR version GitHub release (latest SemVer) GitHub tag (latest SemVer) GitHub forks GitHub stars GitHub license

PixelChart

Map binary data into a beautiful chart

PixelChart let's you create an image, a pixel chart / plot, based on binary data. The idea is that truthy and falsy values will be represented by a different color to be able to quickly visualize boolean values.

For example:

Requirements

You have to install the system requirements for both backends.

Example for Linux distros:

  • ArchLinux: pacman -S libvips imagemagick
  • openSUSE: zypper in libvips42 ImageMagick
  • Ubuntu: apt install libvips42 imagemagick

Installation

$ gem install pixelchart

See the documentation for more more advanced options.

Usage

CLI

$ pixelchart draw test.csv test.png -w 100 -h 100 -s 3
[+] Image saved

See the CLI documentation.

library

See the library documentation.

scenarios

See some scenarios with examples.

Documentation