VISUAL

 SCIENCE

  SANDRAVIZ.COM | 2023

 DATA

 

01

 

 

01

 

Excellence in statistic graphs consists of complex ideas communicated with clarity, precision and efficiency.

E. TUFTE

 

01

 

 

01

 

HOW TO LEARN

GGPLOT2

 

01

 

 

TRY OUT

 

SEARCH

 

01

 

H. WICKMAN

 

01

 

LIBRARY

INSTALLATIONS

 

01

 

THEME

SELECTION

 

01

 

theme_tufte(base_size = 11, base_family = "serif", ticks = TRUE)

 

01 | TUFTE THEME

 

CHARTJUNK

TUFTE

 

01

 

 

01 | HIGH LEVEL OF CHARTJUNK

 

 

01 | REMOVED CHARTJUNK

 

 DISTRIBUTIONS

 

02

 

 

02 | CHART TYPES TO SHOW DISTRIBUTION

 

FREQUENCY

PLOT

 

02

 

 

02 | FREQUENCY OF LIFE EXPECTANCY

 

 

02 | IN DETAIL BY CHOSING SMALLER BINS

 

02 | ADDING COLOR AS A VISUAL ENCODING

 

 

02 | ZOOM IN ON THE X AXIS

 

 

 

HISTOGRAM

PLOT

 

02

 

 

02 | HISTOGRAM

 

 

 

02 | GUIDLINES FOR HISTOGRAMS

 

 

02 | USING BINS INSTEAD OF A CONTINOUSE LINE

 

 

 

 

02 | IN DETAIL

 

 

 

02 | ADDING COLOR AS A VISUAL ENCODING

 

 

02 | MORE AGGREGATED LEVEL

 

 

02 | CONCEPT OF GRAMMAR OF GRAPHICS - OVERLAPPING

 

 

 

 

02 | SMALL MULTIPLE

 

 

02 | SMALL MULTIPLE HISTOGRAM

 

 

 

 

02 | ADDING COLOR AS A VISUAL ENCODING (REDUNDANT)

 

 

PLOT

BOX

 

02

 

 

02 | BOXPLOT

 

 

02 | GUIDANCE FOR BOXPLOTS

 

 

vegetables

 

 

 

02 | LIFE EXPECTANCY BY CONTINENT

 

 

02 | LIFE EXPECTANCY BY GDP PER CAP. (USING GROUP VARIABLE)

 

02 | DEFINING SMALLER GROUPS

 

 

 

 

02 | WITHOUT THE OUTLIERS

 

 

02 | COLOR AS ENCODING FOR OUTLIERS

 

 

04 | TUFTE BOXPLOT

 

PLOT

DENSITY

 

02

 

 

02 | DENSITY PLOT

 

 

02 | KERNAL DENSITY ESTIMATE

 

 

02 | ADDING COLOR AS A VISUAL ENCODING

 

 

02 | USING TRANSPARENCY

 

 

02 | SMALL MULTIPLE TO FACILITATE COMPARISON

 

 

 

02 | USING RIDGES LINES

 

 

 

02 | ADDING COLOR AS A VISUAL ENCODING (REDUNDANT)

 

 

 

02 | CHANGING THE OVERLAPPING FACTOR

 

 

02 | USE COLOR AS SUPPORT THE ENCODING OF THE X POSITION

 

 

02 | TEMPERATUR COMPARISON

 

 

 

02 | REFERENCE LINE REPRESENTING THE MEDIAN

 

 

02 | USING COLOR TO ENCODE CERTAIN PARTS OF THE DISTIRBUTION

 

 

 

02 | ADD THE POINTS

 

02 | ADD THE POINTS BELOW THE DISTRIBUTION

 

 

02 | ADD COLOR AND MOVE POINTS BELOW

 

 

03

 

 RELATIONSHIPS

 

03 | CHART TYPES TO SHOW RELATIONSHIP

 

SCATTER

PLOT

 

03

 

 

03 | SCATTER PLOT

 

 

03 | DIAMONDS - CARAT VS. PRICE

 

 

03 | REDUCE SIZE

 

 

 

03 | ADD TRANSPERANCY

 

 

 

03 | CHANGE X & Y LIMITS

 

 

03 | SHOWING QUANTILS

 

 

 

03 | ADD COLOR AS A REDUNDANT ENCODING

 

 

03 | SUB SAMPLES

 

 

 

03 | LOC SCLAE

 

 

03 | LOG SCLAE FOR THE X AXIS

 

 

03 | ADD A TREND

 

 

 

03 | ADDING CONTEXT BY USING SMALL MULTIPLES

 

 

 

03 | MORE COTEXT

 

03 | MARGINAL PLOTS

 

 

03 | DOT-DASH SCATTERPLOT

 

 

03 | MARGIAL BOXPLOT

 

 

 

 

03 | MARGIAL HISTOGRAM

 

 

 

 

03 | DENSITY PLOT

 

 

 

BEESWARM

PLOT

 

03

 

 

03 | Jitter points plot

 

 

 

03 | Jitter points plot - horizontal

 

 

 

03 | Beeswarm plot

 

 

03 | Adding color as a visual encoding

 

HEXAGONAL

BINNING

 

03

 

 

03 | HEXAGONAL BINNING

 

 

03 | AGGREGATION ENCODED IN COLOR

 

 

03 | LOG SCLAE

 

 

03 | DENSITY

 

 

04

 

 TIME SERIES

 

04 | LINE, AREA OR POINTS TO SHOW TIME SERIES

 

 

 

04 | TIME SERIES VIZ GUIDANCE

 

 

 

 

04 | ADDING COLOR AS VISUAL ENCODING

 

 

 

04 | SMALL MULTIPLE TO DECLUTTER

 

 

 

04 | ADDING REFERENCE LINE

 

 

 

04 | ADDING TRENDS

FLOW

ANALYSIS

 

04

 

 

04 | LIFE EXPECTANCY BY COUNTRIES

 

 

04 | COLOR AS ENCODING

 

04 | SMALL MULTIPLE TO DECLUTTER

 

 

04 | ADDING TREND LINES

 

 

04 | CONTEXT: ADDING ALL LINE IN THE BACKGROUND

 

 

 

 

04 | FOCUSING ON EUROPE

 

 

 

04 | ADDING THE TREND LINE

 

 

04 | SMALL MULTIPLES COUNTRIES

 

 ADVANCED

 

05

 

PARALLEL

COORDINATES

 

05

 

 

05 | CHANGING SCALE

 

 

05 | SMALL MULTIPLE TO DECLUTTER

 

 

05 | SCALE SO THE MIN OF THE VAR. IS 0 AND THE MAX. 1

 

DUMBBELL

LET'S ADD A

 

05

 

 

05 | DEFAULT

 

 

05 | ADDING COLOR AS A VISUAL ENCODING

 

 

05 | SMALL MULTIPLE TO DECLUTTER

 

 

05 | ZOOM IN ON EUROPE

 

 

05 | ADDING A REFERENCE LINE

 

WAFFLE

NO PIE BUT A

 

05

 

 

05

 

 

05 | DEFAULT

 

 

05 | SMALL MULTIPLE

 

 

MARKDOWN

SAVE EVERYTHING

 

05

 

 

05 | SUMMARY

 

 

REAL PROJECT

 

06

 

WHAT

MAKES A

 

 

 

GOVERNMENT?

GOOD

 

06

 

J. VALLANDINGHAM

 

06