Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/madnight/asciichart

ASCII line charts in terminal ╭┈╯ Haskell port of kroitor/asciichart
https://github.com/madnight/asciichart

ascii asciichart charts haskell haskell-library haskell-port

Last synced: 4 days ago
JSON representation

ASCII line charts in terminal ╭┈╯ Haskell port of kroitor/asciichart

Awesome Lists containing this project

README

        

# 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](https://github.com/kroitor/asciichart). Free for any usage (MIT License).

![](example.png)

## Usage
```bash
cabal install asciichart
```

```haskell
import Data.Text.Chart (plot)

main :: IO ()
main = plot [1..20]
```

For more examples e.g. sinus wave see [examples folder](https://github.com/madnight/asciichart/tree/master/examples).
You can also find this package on [Hackage](http://hackage.haskell.org/package/asciichart).

## References

Full credits to [kroitor](https://github.com/kroitor/) the inventor of asciichart for the terminal.
This is only a simple port for the Haskell community.