Skip to content
ASCII line charts in terminal ╭┈╯ Haskell port of kroitor/asciichart
Branch: master
Clone or download
Latest commit 5d322d5 Aug 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples examples folder Jul 23, 2018
src/Data/Text add haddock documentation Jul 29, 2018
test fix ghc warnings Jul 29, 2018
.gitignore Initial commit Jul 18, 2018
.travis.yml travis build matrix 2014-2018 Jul 25, 2018
LICENSE prepare for hackage upload Jul 22, 2018
README.md Update README.md Aug 10, 2018
asciichart.cabal add haddock documentation Jul 29, 2018
default.nix add large number test Jul 25, 2018
example.png add example.png Jul 22, 2018

README.md

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.

You can’t perform that action at this time.