chart-unit: Native haskell charts.

[ bsd3, charts, library ] [ Propose Tags ]

See chart-unit for chart bling and usage.

These charts are designed to be scale independent and amenable to combinatory busywork (hence the unit suffix).

[Skip to Readme]
Versions [faq], 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4,,,,,,,,
Dependencies base (>=4.7 && <5), chart-unit, colour, containers, data-default, diagrams-lib, diagrams-rasterific, diagrams-svg, foldl, formatting, lens, linear, mwc-probability, mwc-random, numhask (>=0.0.5 && <1), numhask-range (>=0.0.3 && <1), palette, primitive, protolude, SVGFonts, tdigest, text [details]
License BSD-3-Clause
Copyright 2016 Tony Day
Author Tony Day
Category charts
Home page
Source repo head: git clone
Uploaded by tonyday567 at Thu Aug 31 11:04:08 UTC 2017
Distributions NixOS:
Executables chart-source-examples
Downloads 4096 total (374 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-08-31 [all 3 reports]


  • Chart
    • Chart.Arrow
    • Chart.Core
    • Chart.Glyph
    • Chart.Hud
    • Chart.Lenses
    • Chart.Line
    • Chart.Rect
    • Chart.Text


Maintainer's Corner

For package maintainers and hackage trustees

Readme for chart-unit-0.5.0

[back to package description]


Build Status Hackage lts nightly

chart-unit is a haskell chart library focusing on a small set of high-quality charts using native haskell. Here's a recent example, chock-a-block fill of titles and legends, since they've just been added:

Chart Types

So far, there are 8 major chart types:


The main chart types and the power of diagrams make it easy to invent new charts. Hrere's some inspiration (all code for these charts is in examples/sourceExamples.hs).


labelled bar

histogram diff

combined scatter histogram





stack build --test --exec "$(stack path --local-install-root)/bin/chart-source-examples" --exec "$(stack path --local-bin)/pandoc -f markdown -i -t html -o index.html --filter pandoc-include --mathjax" --file-watch