Skip to content

A veneer for plotting in Common Lisp with Vega Lite.

Notifications You must be signed in to change notification settings

braised-babbage/plotsdam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plotsdam: Interactive plotting with Vega Lite

Plotsdam is a thin veneer over Vega Lite.

Getting Started

The primary interface is the plot macro. There are two plotting modes, controlled by *plotting-mode*:

  • :http mode (default) runs a hunchentoot server on port 4242 and plots to this
  • :immediate mode just results in plots translating to json strings

There are a few examples in examples/. To load them all, try (ql:quickload :plotsdam-examples).

One colorful one is

(plot (plotsdam-examples:seattle-weather-data)
    :mark :bar
    :encoding (:x (:|timeUnit| :month :field :date :type :ordinal)
	       :y (:aggregate :count :type :quantitative)
	       :color (:field :weather :type :nominal)))

which renders as

example image

About

A veneer for plotting in Common Lisp with Vega Lite.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published