asciichart: Line charts in terminal

[ library, mit, text ] [ Propose Tags ]

Line charts in terminal ╭┈╯. Haskell port of kroitor/asciichart.

import Data.Text.Chart (plot)

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

[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0, 1.0.1, 1.0.2
Change log ChangeLog.md
Dependencies array (>=0.5 && <0.6), base (>=3.0 && <5) [details]
License MIT
Copyright (c) 2018-Present Fabian Beuke
Author Fabian Beuke
Maintainer mail@beuke.org
Category Text
Home page https://github.com/madnight/asciichart
Bug tracker https://github.com/madnight/asciichart/issues
Source repo head: git clone git://github.com/madnight/asciichart.git
Uploaded by madnight at 2018-07-25T15:29:45Z
Distributions NixOS:1.0.2
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1578 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-25 [all 1 reports]

Readme for asciichart-1.0.0

[back to package description]

asciichart

License: MIT Build Status

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.

References

Full credits to kroitor the inventor of asciichart for the terminal.
This is only a simple port for the Haskell community.