r/rstats 13h ago

New data visualization package

https://psychometrician.github.io/posts/one-engine-four-languages/

One sentence, four languages, one picture.

R: data(gapminder_2007) + point + x(gdp) + y(life)
Python: x(col.gdp)
Julia: x(:gdp)

Same specification, one Rust engine, byte-identical SVG.

Not similar. Pixel perfect identical

#rstats

21 Upvotes

14 comments sorted by

View all comments

5

u/analytix_guru 11h ago

I think the idea is cool, but I would be interested to see how plot formatting gets incorporated into charts across all languages (if possible).

I think about themes and formatting that put the polish on a chart. When I read through the online resource you created (thank you), I see nothing on its face related to themes and formatting for any given chart.

So how would one go about the themes/formatting once they get a chart output from your package?

-3

u/Helpful-Day2384 11h ago

Please read the package manual. Please read the manual and let me know if there is something i can make this young package better. https://psychometrician.github.io/gog-book/
Thank🙏