simplified grammar of graphics

14
Simplified Grammar of Graphics Creating a Humble Chart

Post on 17-Oct-2014

355 views

Category:

Data & Analytics


18 download

DESCRIPTION

How do you create infinite data visualizations. Is it a science that you can learn or an art that comes through experience. Well, there is a grammar of graphics, which can provide you a way to think about the science around creating a graphic. Here is a simplified grammar of graphics to get you started.

TRANSCRIPT

Page 1: Simplified Grammar of Graphics

Simplified Grammar of Graphics

Creating a Humble Chart

Page 2: Simplified Grammar of Graphics

Start with Data

Area Sales

North 5

East 25

West 15

South 20

Central 10

Data

Page 3: Simplified Grammar of Graphics

Map the Aesthetics

Area Sales

North 5

East 25

West 15

South 20

Central 10

Data

x y

1 5

2 25

3 15

4 20

5 10

Aesthetics

x (Nominal) = Areay (Quantitative) = Sales

Page 4: Simplified Grammar of Graphics

Encode Geometric & Scale

Area Sales

North 5

East 25

West 15

South 20

Central 10

Data

x y

1 5

2 25

3 15

4 20

5 10

Aesthetics

x (N) = Areay (Q) = Sales

x - position y - barscale - 200 x 200

x y

20

40

100

140

180

Geometric & Scale

Page 5: Simplified Grammar of Graphics

Choose a Coordinate

x y

1 5

2 25

3 15

4 20

5 10

Aesthetics

x (N) = Areay (Q) = Sales

x y

20

60

100

140

180

Geometric & Scale

cartesian

Coordinate

x - position y - barscale - 200 x 200

Page 6: Simplified Grammar of Graphics

Points Line Bar

Bar - Stacked Bar - Stagger CoordinatesCartesian

Example #1

x

y

Page 7: Simplified Grammar of Graphics

Coordinates: Cartesian

x

y

Dot Plot Line Chart Column Chart

WaterfallStacked Column

Page 8: Simplified Grammar of Graphics

Points Line Bar

Bar - Stacked Bar - Stagger CoordinatesCartesian - Flip

Example #2

y

x

Page 9: Simplified Grammar of Graphics

Coordinates: Cartesian FlipDot Plot Line Chart Bar Chart

CascadeStacked Bar

y

x

Page 10: Simplified Grammar of Graphics

Points Line Bar

Bar - Stacked Bar - Stagger CoordinatesPolar - x

Example #3

r

θ

x = θy = r

Page 11: Simplified Grammar of Graphics

Coordinate: Polar - x

r

θ

x = θy = r

Marked Radar Line Radar? CoxComb

Polar Waterfall?Bullseye

Page 12: Simplified Grammar of Graphics

Points Line Bar

Bar - Stacked Bar - Stagger CoordinatesPolar - Y

Example #4

r

θ

x = ry = θ

Page 13: Simplified Grammar of Graphics

Coordinate: Polar - y

r

θ

x = ry = θ

Target? Wind Rose? Wind Rose

Polar Cascade?Pie Chart

Page 14: Simplified Grammar of Graphics

Amit Kapoor@amitkapsPartner, narrativeVIZ [email protected]

Find this presentation and more athttp://narrativeviz.com/playbook