A grammar is, according to Wikipedia, the set of structural rulesgoverning the composition of clauses, phrases, and words in any givennatural language. A grammar of graphics is then the set of structuralrules governing the composition of visual elements. Transforming datainto visual representations using composition is quite powerful andallows to create complex visualisations with simple building blocks.While the ideas behind the grammar of graphics date back well into the80s, as a Python developer it is only quite recently that we can makeuse of it. Altair, backed by the vega specification, is one of the fewplotting libraries in Python that provide such a declarative andcompositional API.In this talk I will give an introduction to the core concepts behind thegrammar of graphics as well as practical examples how to use altair APIin Python to create vega plots.
I am looking for editors/curators to help with branches of the tree. Please send me an email if you are interested.