Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ocramz/rigel-viz
A mid-level Haskell wrapper for vega-lite
https://github.com/ocramz/rigel-viz
charts infographics information-visualization plotting scientific-visualization vega visualization
Last synced: 22 days ago
JSON representation
A mid-level Haskell wrapper for vega-lite
- Host: GitHub
- URL: https://github.com/ocramz/rigel-viz
- Owner: ocramz
- License: bsd-3-clause
- Created: 2019-02-10T10:51:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-13T09:03:40.000Z (almost 5 years ago)
- Last Synced: 2024-09-29T17:20:05.255Z (about 1 month ago)
- Topics: charts, infographics, information-visualization, plotting, scientific-visualization, vega, visualization
- Language: Haskell
- Homepage:
- Size: 169 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# rigel-viz
[![Build Status](https://travis-ci.org/ocramz/rigel-viz.png)](https://travis-ci.org/ocramz/rigel-viz)
*Rigel (also called Beta Orionis) is the seventh-brightest star in the night sky*
A (mid-level, simplified, opinionated) Haskell wrapper for [`vega-lite`](https://vega.github.io/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.