Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.51 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.51 KB

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.