Project

pixelchart

0.0
The project is in a healthy, maintained state
Create a binary pixel map
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.6
~> 2.2
>= 4.1, < 6.0
~> 2.0
 Project Readme

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