Awesome
asciichart
<p><a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="License: MIT" /></a> <a href="https://travis-ci.org/madnight/asciichart"><img src="https://travis-ci.org/madnight/asciichart.svg?branch=master" alt="Build Status" /></a> <img src="https://badgen.net/badge/icon/haskell?icon=haskell&label&color=purple" alt="" /> <a href="http://hackage.haskell.org/package/asciichart"><img src="https://images.weserv.nl/?url=img.shields.io/hackage/v/asciichart.svg&h=200&t=fitup&dpr=8" width="100" alt="Hackage" /></a> <a href="http://hackage.haskell.org/package/asciichart"><img src="https://images.weserv.nl/?url=img.shields.io/hackage-deps/v/asciichart.svg&w=3000&t=fitup" height="20" alt="Hackage-Deps" /></a></p>ASCII line charts in terminal ╭┈╯. Console line charts in pure Haskell.
This is a Haskell port of the Javascript library kroitor/asciichart. Free for any usage (MIT License).
Usage
cabal install asciichart
import Data.Text.Chart (plot)
main :: IO ()
main = plot [1..20]
For more examples e.g. sinus wave see examples folder.
You can also find this package on Hackage.
References
Full credits to kroitor the inventor of asciichart for the terminal.
This is only a simple port for the Haskell community.