Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/madnight/asciichart
- Owner: madnight
- License: mit
- Created: 2018-07-18T22:57:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-26T06:47:43.000Z (about 2 years ago)
- Last Synced: 2024-10-30T09:25:15.655Z (9 days ago)
- Topics: ascii, asciichart, charts, haskell, haskell-library, haskell-port
- Language: Haskell
- Homepage:
- Size: 117 KB
- Stars: 28
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - madnight/asciichart - ASCII line charts in terminal ╭┈╯ Haskell port of kroitor/asciichart (Haskell)
README
# asciichart
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.