Gribouille 0.3.0: A Grammar of Graphics for Typst

mickael.canouil.fr

179 points by mcanouil 4 days ago


KolmogorovComp - 5 minutes ago

I actually think that with LLM we may very well hit a plateau in innovation here, because now the ugly syntax is not a hurdle anymore, since you don’t write it anymore by hand.

NiloCK - 2 hours ago

Is typst a good tool for something like a flyer (eg, printable respecting fold lines) or more generically one-page posters?

I see PDF as a blessed output, but it seems mostly in context of longer form typesetting-heavy workflows (books, papers), rather than design-heavy.

matijsvzuijlen - 10 hours ago

Why are all the parameters full words except 'labs'? I find it jarring because to me 'lab' is short for laboratory, not label.

red_admiral - 8 hours ago

Always pleased to see Typst mentioned. TeX made a lot of choices that made sense at the time, but TeX macros and C #defines especially when nested and/or not properly bracketed to allow nesting are a mess when things go wrong.

stared - 7 hours ago

Interesting! If I get it right, the API is in the spirit of Observable Plot (https://observablehq.com/plot/), less ggplot2.

In any case, I'm curious whether aes is necessary, or whether it would suffice to drop this function entirely and just use keys in the mapping (similarly for labs). Or, more broadly, whether using patterns from other implementations of the Grammar of Graphics is a conscious decision, or some sort of legacy baggage.

spider-mario - 9 hours ago

What’s with the slanted figures until you hover over them?

jeremyscanvic - 4 hours ago

Is ggplot2 considered to be a nice interface to plot things compared to say matplotlib in Python? I'm asking out of curiosity, I haven't touched R much

elsoja - 5 hours ago

It seems to be fully written in native Typst, without any WASM backend. I wonder how is the performance like for complex plots or for documents with a large number of figures.

unrealhoang - 12 hours ago

This is awesome, is there a way to render the graphics/chart in svg so that we can implement something like hover & popup (with data information)?

adamnemecek - 12 hours ago

Typst is the most important open source project of the last 5 years.

I predict a future where markdown and latex are largely replaced by typst. And I couldn't be more excited.

It is such a stepup from markdown and latex. Try it today if you are intrigued.

- 4 days ago
[deleted]