Data and AI Training

Home | Prices | Contact Us | Courses: Power BI - Excel - Python - SQL - Generative AI - Visualising Data - Analysing Data

Visual Grammar

This section describes how visual attributes relate to the characteristics of the data.

Each chart plots a set of variables

Bar chart: (1-2 categorical, 1 continuous)

Scatter plot: (2 continuous, 1-3 categorical)

Example: (stacked) bar chart

What are the categorical and continuous variables?

nhs_appointments_col_chart col_config_panel

Example: Scatter plot

What are the categorical and continuous variables?

scatter_chart_cars scatter_config_panel

Reading a chart: look at the anatomy

Scaffolding provides the scope and indicates the reason, purpose.

Visual encoding translates quantities to marks and symbols

Context (author,intended audience, location of report)

Grammar of Graphics

Source: ggplot2 (ggplot2-book.org) Hadley Wickham