@hackage / hgg-frame

DataFrame abstraction (class PlotData) and the df |>> spec binding for hgg

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

A dataframe-independent abstraction for writing hgg plots as "dataframe + column names". . * PlotData — a typeclass that bridges any dataframe type to a Resolver (column name to ColData). Zero-dependency instances for Map and assoc-lists are included, so it works without any dataframe library. * (|>>) — binds a dataframe to a spec, producing a BoundPlot. (The Hackage dataframe package already uses |>, hence |>>.) . Rendering wrappers (saveSVGBound etc.) live in the backend packages (hgg-svg etc.), so this package depends only on hgg-core.