@hackage / hgg-core

Core of hgg: VisualSpec / PlotData / Layout / Render primitives

Latest0.1.0.0

About

Metadata

  • Last updated , by frenzieddoll
  • License BSD-3-Clause
  • Categories Graphics
  • Maintained by: frenzieddoll@gmail.com

  • Lottery factor: 1

Links

Installation

Readme

hgg-core

The backend-independent core of hgg — plot spec / data / layout / render primitives.

Depends only on base / vector / text / containers. Backends (SVG / PDF / Rasterific / LaTeX / ...) are implemented as separate packages.

Module structure

Module Role
Graphics.Hgg.Spec VisualSpec ADT (declarative spec for every chart kind)
Graphics.Hgg.Data PlotData ADT (Vector-based, DataFrame-independent)
Graphics.Hgg.Layout computeLayout pure function (viewport / scale / axis)
Graphics.Hgg.Render Primitive ADT + Renderer class (backend interface)
Graphics.Hgg.Easy matplotlib-style scatter / bar / line / histogram

See the repository README for a gallery and getting-started guide.