Data Visualization Workshop for Summer Interns

ZacharyLabe 209 views 120 slides Jul 17, 2024
Slide 1
Slide 1 of 120
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61
Slide 62
62
Slide 63
63
Slide 64
64
Slide 65
65
Slide 66
66
Slide 67
67
Slide 68
68
Slide 69
69
Slide 70
70
Slide 71
71
Slide 72
72
Slide 73
73
Slide 74
74
Slide 75
75
Slide 76
76
Slide 77
77
Slide 78
78
Slide 79
79
Slide 80
80
Slide 81
81
Slide 82
82
Slide 83
83
Slide 84
84
Slide 85
85
Slide 86
86
Slide 87
87
Slide 88
88
Slide 89
89
Slide 90
90
Slide 91
91
Slide 92
92
Slide 93
93
Slide 94
94
Slide 95
95
Slide 96
96
Slide 97
97
Slide 98
98
Slide 99
99
Slide 100
100
Slide 101
101
Slide 102
102
Slide 103
103
Slide 104
104
Slide 105
105
Slide 106
106
Slide 107
107
Slide 108
108
Slide 109
109
Slide 110
110
Slide 111
111
Slide 112
112
Slide 113
113
Slide 114
114
Slide 115
115
Slide 116
116
Slide 117
117
Slide 118
118
Slide 119
119
Slide 120
120

About This Presentation

18 July 2024…
GFDL/AOS Summer Internship Lecture Series (Presentation): Data Visualization Workshop, Princeton University, NJ.


Slide Content

DATA VISUALIZATION
WORKSHOP
Zachary Labe, PhD
Research Physical Scientist in the Seasonal-to-Decadal Variability and PredictabilityDivision
[email protected]
18 July 2024 – Princeton/CIMES/NOAA Internship Programs
@ZLabehttps://zacklabe.com/methods-and-open-software/!

RESEARCHER
Climate signal vs. weather noise
@ZLabe
COMMUNICATOR
RESEARCHER
Climate prediction & projection
STORYTELLER
Simple, bold data visualization
ZACK LABE
Federal Climate Scientist at NOAA GFDL
@ZLabe
https://zacklabe.com/

The signal (climate change)
The noise (weather)
…To tell data-driven climate stories…

The Arctic is warming more than 3 times
faster than the global average!

The Arctic is warming more
than 3 times faster than
the global average!

NOW
Start of
satellite-era

DATA VISUALIZATION
IS STORY-TELLING.
Arctic temperature anomalies from 1979 to 2023

DON’T BE
SUCH A
SCIENTIST
WE ARE
DATA
SCIENTISTS
ART BY JILL PELTO

Landscape of Changeuses data
about sea level rise, glacier volume
decline, increasing global
temperatures, and the increasing use
of fossil fuels. These data lines
compose a landscape shaped by
the changing climate, a world in
which we are now living.
Jill Pelto|https://www.jillpelto.com/landscape-of-change

DATA VISUALIZATION
IS STORY-TELLING.

1. https://betterfigures.org/
2. https://www.climate-lab-book.ac.uk/
3. http://colorbrewer2.org/
RESOURCES

WHAT ARE YOUR
WORST FIGURES?

My first map subplot?

LABE ET AL.
2017
, CLIMATE DYNAMICS

Arctic sea ice thickness variability
and the atmospheric circulation
Zachary M. Labe
Gudrun Magnusdottir
2 June 2016

BEGINNING WITH
OUR DATA.

LINE GRAPHS
Temperature Anomaly (
°C)

:)

MAP PLOTS

YIKES!

YIKES – FONT IS BLEH!

YIKES – COLOR!

MAP PROJECTION!

:)

HAVE FUN!

LEVERAGING ALL
DIMENSIONS OF
YOUR DATA.

I have a 2D-array of sea ice thickness
anomaly data [year,day]…
Each line is one day
Number of Years
Thickness Anomaly (m)

https://seaborn.pydata.org/examples/index.html

https://betterfigures.org/2012/09/15/decadal-temperatures/
Error bars and graphical clutter…

https://betterfigures.org/2012/09/15/decadal-temperatures/
Error bars and graphical clutter…

https://betterfigures.org/2012/09/15/decadal-temperatures/
Error bars and graphical clutter…

SCIENCE OF DESIGN.

cmap = ‘jet’

STOELZLE AND STEIN, 2021, HESS

Check out: https://betterfigures.org/2018/06/04/playing-hunt-the-discontinuity/

1998!

Citations on Google Scholar…

2004!

SCHNEIDER AND NOCKE,
2017

SCHNEIDER AND NOCKE,
2017

SCHNEIDER AND NOCKE,
2017

SCHNEIDER AND NOCKE,
2017

SCHNEIDER AND NOCKE,
2017

Crameri, F.(2018). Scientific colour maps.
Zenodo.http://doi.org/10.5281/zenodo.1243862
Crameri, F. (2018), Geodynamic diagnostics, scientific
visualisation and StagLab 3.0, Geosci. Model Dev., 11, 2541-
2562,doi:1 0.5194/gmd-11-2541-2018
Crameri, F., G.E. Shephard, and P.J. Heron (2020), The
misuse of colour in science communication,Nature
Communications, 11, 5444.doi:10.1038/s41467-020-19160-7
Palettable:
Color palettes for Python

PALETTABLE - PYTHONCubehelix

TURBO
https://
ai.googleblog.com
/2019/08/turbo
-improved
-rainbow
-colormap
-for.html

OTHER OPTIONS
THYNG ET AL. 2016; OCEANOGRAPHY

CMOCEAN
THYNG ET AL. 2016; OCEANOGRAPHY

CMASHER
“Scientific colormaps for making accessible,
informative andcmashingplots”

Adapted from Ed Hawkins at betterfigures.org

Adjusting axes (spines)

Changing font styles

1. Seaborn.
2. Plotly.
3. ggplot.
4. Matplotlib v3.
RESOURCES

MAKING ACCESSIBLE
FIGURES.

ACCESSIBILITY
No jargon
Tell a story
Alternative text
Color contrast ratio
Label data directly
Avoid flashing GIFs
Include figure titles
Avoid data overlays
Provide data references

VISUALIZING
GLOBAL
TEMPERATURE
CHANGE

2016 RIO OLYMPICS OPENING CEREMONY

PLOT BY NEIL KAYE

PLOT BY NASA EARTH OBSERVATORY
JOSHUA STEVENS

PLOT BY ED HAWKINS

PLOT BY ED HAWKINS
DON’T BE
SUCH A
SCIENTIST
WE ARE
DATA
SCIENTISTS

PLOT BY ED HAWKINS
https://showyourstripes.info/

SCIENCE
PRESENTATIONS.

LABE ET AL.
2019
, GRL
Bring drama to your data story

LABE ET AL. 2019, GRL

LABE ET AL. 2019, GRL
STRONGER
POLAR VORTEX
Zonal wind
at 10 hPa
Geopotential
at 30 hPa

WEAKER
POLAR VORTEX
Zonal wind
at 10 hPa
Geopotential
at 30 hPa
LABE ET AL. 2019, GRL

2-m TEMPERATURE
Future minus Pre-Industrial PEINGS, LABE ET AL. 2021, JCLI

2-m TEMPERATURE
Future minus Pre-Industrial PEINGS, LABE ET AL. 2021, JCLI

2-m TEMPERATURE
Future minus Pre-Industrial PEINGS, LABE ET AL. 2021, JCLI

2-m TEMPERATURE
Future minus Pre-Industrial PEINGS, LABE ET AL. 2021, JCLI

2-m TEMPERATURE
Future minus Pre-Industrial PEINGS, LABE ET AL. 2021, JCLI

2-m TEMPERATURE
Future minus Pre-Industrial PEINGS, LABE ET AL. 2021, JCLI

2-m TEMPERATURE
Future minus Pre-Industrial PEINGS, LABE ET AL. 2021, JCLI

Outline…
•10 minutes (with about +5 minutes for questions)
•This takes practice!
•Identify the bigger story. Why do we care? So what!
•Data and methods
•For instance, what GFDL models?
•Methods.
•How did you evaluate the data?
•Findings.
•What are your results? I suggest framing it around 2-3 main points.
•Conclusions.
•What can we learn? And importantly, any future plans or suggestions
if continuing work on this topic.

EXAMPLE
SLIDES.

Explainable machine learning can
distinguish between regional patterns
of time-evolving climate change
in GFDL models.
113
SIGNIFICANCE

TRENDS FROM 1921 TO 1950
Fully-Coupled [Historical + SSP5-8.5]SPEAR_MED, but NO anthropogenic aerosolsSPEAR_MED, but NO anthropogenic forcings
114
WarmerColder

TRENDS FROM 1921 TO 1950
Fully-Coupled [Historical + SSP5-8.5]SPEAR_MED, but NO anthropogenic aerosolsSPEAR_MED, but NO anthropogenic forcings
115
WarmerColder

TRENDS FROM 1921 TO 1950
Fully-Coupled [Historical + SSP5-8.5]SPEAR_MED, but NO anthropogenic aerosolsSPEAR_MED, but NO anthropogenic forcings
116
WarmerColder

TAKEAWAYS
1.XAI can identify regional patterns of climate change & variability in GFDL large ensembles.
2.Method can identify differences in time-evolving forced climate signals between other
climate model large ensembles.
3.Framework can be adapted for monitoring and predicting patterns of climate change in
observations.
Zack Labe
[email protected]
11715 March 2023
GFDL Lunchtime Seminar

CHECK:
Simple.
Bold.
Stories.
@ZLabeQuestions!
ZACHARY LABE | 18 JULY 2024| SUMMER INTERNSHIP PROGRAMS IN PRINCETON, NJ

SHARING FIGURES
Challenge:
1 summary figure
1 #SciComm figure
@ZLabe
ZACHARY LABE | 18 JULY 2024| SUMMER INTERNSHIP PROGRAMS IN PRINCETON, NJ

What figure did you bring today?