@hackage asciichart1.0.2

Line charts in terminal

asciichart

License: MIT Build Status Hackage Hackage-Deps

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.