generateme / cljplot

JVM Clojure charting library
Eclipse Public License 2.0
152 stars 7 forks source link

CLJPLOT

INFO (2020-08-17): I'm preparing new version based on tech.ml.dataset as data input which is going to solve issues with data processing and labels. Also rethinking the way of better management of data dimensions and their representation through trellis/colors/axes etc. It happens very slowly, but happens. Stay tuned.

logo

clojure2d.charts

THIS IS WIP/POC A "no web-based" pure JVM Clojure library for 2d charts, inspired by D3, Vega and R (ggplot2/lattice/facet).

Current version

[cljplot "0.0.3"]

NOTE about API

Please note that current way of creating charts is very low level. All of this nasty steps will be finally hidden from user perspective.

Usage

Currently there are no easy to use functions nor data DSL (help needed here). Still everything is done manually.

See sketches folder for examples

Examples

Short term plan

Long term plan / wishlist

Known issues

Why?

So, why another chart library, when you can use insert any name here In my case, the main obstacle was the ability to save hundreds of charts without using any display (web or java frame). One can say: jfreechart! I can say: try to generate heatmaps... Every library I've found had some issues or produces ugly result or was web based or was notebook based or... So I fell into the lisp curse and I'm writing my own.

Contributing

YES! A lot of things to do:

Let's chat about this: https://clojurians.zulipchat.com/#narrow/stream/197967-cljplot-dev

Marching squares algorithm

Source: https://udel.edu/~mm/code/marchingSquares/

License

Copyright © 2019-2023

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.