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.

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.

| improve this answer | |
  • Interesting, I'll add it to my list of things to learn :-) – david25272 Feb 20 '17 at 0:40
1

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

| improve this answer | |
  • Looks interesting, but that's not it. It is a project with a website, and maybe even a github repository. – abalter Feb 17 '17 at 8:21
  • 1
    Ah! Remembering that it had a github repo allowed me to find it! vega.github.io/vega – abalter Feb 17 '17 at 8:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.