De grammatica van grafieken

Introductie tot datavisualisatie met ggplot2

Rick Scavetta

Founder, Scavetta Academy

The quick brown fox jumps over the lazy dog

Introductie tot datavisualisatie met ggplot2

The quick brown fox jumps over the lazy dog

Introductie tot datavisualisatie met ggplot2

Grammar of graphics

  • Plotkader
  • Leland Wilkinson, Grammar of Graphics, 1999
  • 2 principes
    • Grafieken = losse lagen van grammaticacomponenten
    • Betekenisvolle plots via esthetische mappings

Introductie tot datavisualisatie met ggplot2

De drie essentiële grammaticacomponenten

Element Beschrijving
Data De dataset die je plot.
Aesthetics De schalen waarop we onze data mappen.
Geometries De visuele elementen voor onze data.
Introductie tot datavisualisatie met ggplot2

Cursus 1: kernvaardigheid

Element Beschrijving
Data De dataset die je plot.
Aesthetics De schalen waarop we onze data mappen.
Geometries De visuele elementen voor onze data.
Themes Alle niet-data-inkt.
Introductie tot datavisualisatie met ggplot2

De zeven grammaticacomponenten

Element Beschrijving
Data De dataset die je plot.
Aesthetics De schalen waarop we onze data mappen.
Geometries De visuele elementen voor onze data.
Themes Alle niet-data-inkt.
Statistics Voorstellingen van data om te helpen begrijpen.
Coordinates De ruimte waarop de data wordt geplot.
Facets Kleine multiples plotten.
Introductie tot datavisualisatie met ggplot2

Jargon per component

Introductie tot datavisualisatie met ggplot2

Cursus 2: Tools voor EDA

  • Overige 3 lagen
  • Best practices voor datavisualisatie
Introductie tot datavisualisatie met ggplot2

Laten we oefenen!

Introductie tot datavisualisatie met ggplot2

Preparing Video For Download...