rigel-viz: A mid-level wrapper for vega-lite

[ bsd3, data-science, graphics, library, visualization ] [ Propose Tags ]

A mid-level wrapper for vega-lite. Please see the README for details


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.2.0.0
Dependencies aeson (>=1.4.2.0), base (>=4.7 && <5), bytestring (>=0.10.8.2), colour (>=2.3.4), containers (>=0.6.0.1), text (>=1.2.3.1) [details]
License BSD-3-Clause
Copyright (c) Marco Zocca, 2019
Author Marco Zocca
Maintainer ocramz fripost org
Category Graphics, Data Science, Visualization
Home page https://github.com/ocramz/rigel-viz
Source repo head: git clone https://github.com/ocramz/rigel-viz
Uploaded by ocramz at Sun Feb 24 16:08:32 UTC 2019
Distributions NixOS:0.2.0.0, Stackage:0.2.0.0
Downloads 293 total (34 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-02-24 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for rigel-viz-0.1.0.0

[back to package description]

rigel-viz

Build Status

:star2: Rigel (also called Beta Orionis) is the seventh-brightest star in the night sky, slightly less visible than Vega :star2:

A (mid-level, simplified, opinionated) Haskell wrapper for vega-lite, currently targeting version 3 of the vega-lite schema.

Aims / definitions

  • mid-level :

    • types which can take one of a few possible values are represented by sum types, not by strings.
    • glyph colours are encoded via the colour Haskell library.
  • simplified : the generated vega-lite JSON is not normalized, i.e. has some redundancies. This reflects the internal representation but also makes it easier to reason "locally" (i.e. code sections don't visibly exploit inheritance from higher layers).

  • opinionated : part of the vega-lite API is not used at all. For example, there is no support for data preprocessing (e.g. summarization etc.). This forces the user to use the host language for preprocessing, which is bound to be more expressive and robust.