@hackage asciichart1.0.0

Line charts in terminal

asciichart

License: MIT Build Status

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.

References

Full credits to kroitor the inventor of asciichart for the terminal.
This is only a simple port for the Haskell community.