Description
Line charts in terminal.
Description
Line charts in terminal ╭┈╯. Haskell port of kroitor/asciichart.
import Data.Text.Chart (plot)
main :: IO ()
main = plot [1..20]
README.md
asciichart
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.