asciichart: Line charts in terminal

[ library, mit, text ] [ Propose Tags ] [ Report a vulnerability ]

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
Dependencies array (>=0.5 && <0.6), base (>=3.0 && <5) [details]
Tested with ghc ==7.8, ghc ==7.10, ghc ==8.0.1, ghc ==8.2.2, ghc ==8.4.1
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 2020-09-29T18:04:40Z
Distributions NixOS:1.0.2
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1681 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-09-29 [all 1 reports]

Readme for asciichart-1.0.2

[back to package description]

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.