The 'grammar of graphics' is a way of describing and systematizing how to create various types of charts from basic concepts, allowing for flexible and customizable visualizations.