2

I swear at some point I ran across a project to come up with a generalized schema to describe (plots|graphs|charts). But I can't seem to dig it up in google now. The idea was that every plotting package (e.g. Matlab, ggplot, plotly, matplotlib) has their own API. The project was trying to define a rational and consistent one that could be used in general.

abalter
  • 766

2 Answers2

3

Found it!

https://vega.github.io/vega/

I think this is a great idea. I'd love to see something like this be a standard, with other packages acting as wrappers. But I haven't investigated to see how robust this is yet relative to ggplot2 or plotly.js or Matlab.

abalter
  • 766
1

Maybe The Grammar of Graphics, which is what ggplot2 is based on?