visualization typography: designing legends, labels, titles, and text

64
Visualization Typography: Designing Legends, Labels, Titles, and Text Trina Chiasson | @trinachi | infoactive.co

Upload: trina-chiasson

Post on 28-Nov-2014

288 views

Category:

Design


1 download

DESCRIPTION

Talk at Strata+Hadoop Conference in New York City

TRANSCRIPT

Page 1: Visualization Typography: Designing Legends, Labels, Titles, and Text

Visualization Typography:Designing Legends, Labels, Titles, and Text

Trina Chiasson | @trinachi | infoactive.co

Page 2: Visualization Typography: Designing Legends, Labels, Titles, and Text

I’m a web nerdI like to make things

Page 3: Visualization Typography: Designing Legends, Labels, Titles, and Text

I geek out on infographics

Page 4: Visualization Typography: Designing Legends, Labels, Titles, and Text

I’ve been thinking about responsive dataviz.

Page 5: Visualization Typography: Designing Legends, Labels, Titles, and Text
Page 6: Visualization Typography: Designing Legends, Labels, Titles, and Text
Page 7: Visualization Typography: Designing Legends, Labels, Titles, and Text

Our data capacity is changing

Page 8: Visualization Typography: Designing Legends, Labels, Titles, and Text

For my parents, data collection was deliberate.

Page 9: Visualization Typography: Designing Legends, Labels, Titles, and Text

But I don’t have to think about data collection. It just magically happens.

Page 10: Visualization Typography: Designing Legends, Labels, Titles, and Text

Hand-crafted dataviz takes time.

Page 11: Visualization Typography: Designing Legends, Labels, Titles, and Text

Not everyone is blessed with the innate ability to make

brilliant data visualizations.

Page 12: Visualization Typography: Designing Legends, Labels, Titles, and Text

If you don’t identify theworst-case scenario,

someone else will.

Page 13: Visualization Typography: Designing Legends, Labels, Titles, and Text

What if we don’t have that luxury?

• We don’t know what the source data looks like

• We don’t know where it will be viewed (desktop, mobile, print)

• Change is a constant

Page 14: Visualization Typography: Designing Legends, Labels, Titles, and Text
Page 15: Visualization Typography: Designing Legends, Labels, Titles, and Text
Page 17: Visualization Typography: Designing Legends, Labels, Titles, and Text

In visualization, text supportsdata comprehension.

Page 18: Visualization Typography: Designing Legends, Labels, Titles, and Text

It’s about the interactionbetween shapes and text.

Page 19: Visualization Typography: Designing Legends, Labels, Titles, and Text

In an ideal world,

you start with data collection.

Page 20: Visualization Typography: Designing Legends, Labels, Titles, and Text

Examples of survey questions:Concise vs. Ridiculous

Page 21: Visualization Typography: Designing Legends, Labels, Titles, and Text

Category labels

Page 22: Visualization Typography: Designing Legends, Labels, Titles, and Text

Here’s a column chart without labels

Page 23: Visualization Typography: Designing Legends, Labels, Titles, and Text

Simple category labels from our concise survey

Page 24: Visualization Typography: Designing Legends, Labels, Titles, and Text

Here’s the same chart with longer category labels.

Page 25: Visualization Typography: Designing Legends, Labels, Titles, and Text

45-degree rotation on labels. Shorter columns; limited vertical space.

Page 26: Visualization Typography: Designing Legends, Labels, Titles, and Text

What if the extra-long label comes first?

Page 27: Visualization Typography: Designing Legends, Labels, Titles, and Text

You could use line breaks instead.

Page 28: Visualization Typography: Designing Legends, Labels, Titles, and Text

But remember to include margin, or it might look awkward.

Page 29: Visualization Typography: Designing Legends, Labels, Titles, and Text

Too many columns or not enough screen width

will complicate things.

Page 30: Visualization Typography: Designing Legends, Labels, Titles, and Text

You could combine line breaks with text rotation.

Page 31: Visualization Typography: Designing Legends, Labels, Titles, and Text

Or you could truncate extra long labels. But is this chart easy to understand?

Page 32: Visualization Typography: Designing Legends, Labels, Titles, and Text

You can expose the full label on hover. But that’s not ideal.

Page 33: Visualization Typography: Designing Legends, Labels, Titles, and Text

You could use a bar chart instead.

Page 34: Visualization Typography: Designing Legends, Labels, Titles, and Text

This is okay when you have a lot of horizontal real estate

Page 35: Visualization Typography: Designing Legends, Labels, Titles, and Text

But it’s not so cool whenhorizontal space it limited.

Page 36: Visualization Typography: Designing Legends, Labels, Titles, and Text

You could conceivably color-code the bars.

Please don’t ever do this.

Page 37: Visualization Typography: Designing Legends, Labels, Titles, and Text

Ah, this is readable.

Page 38: Visualization Typography: Designing Legends, Labels, Titles, and Text

And it’s okay to have healthy boundaries.

You shouldn’t need to show a whole paragraph in a single label.

Page 39: Visualization Typography: Designing Legends, Labels, Titles, and Text

What about otherchart types?

Page 40: Visualization Typography: Designing Legends, Labels, Titles, and Text

It’s best to place labels near the things they represent

Page 41: Visualization Typography: Designing Legends, Labels, Titles, and Text

But this isn’t always easy. Can you read this?

Page 42: Visualization Typography: Designing Legends, Labels, Titles, and Text

Apps usually use legends to handle this challenge on line charts. It’s okay, I suppose.

Page 43: Visualization Typography: Designing Legends, Labels, Titles, and Text

Apps usually use legends to handle this challenge on line charts. It’s okay, I suppose.

Page 44: Visualization Typography: Designing Legends, Labels, Titles, and Text

This can spiral out of control. The text is legible, but the chart is not.

Page 45: Visualization Typography: Designing Legends, Labels, Titles, and Text

In this case, hover interactions might help.

Page 46: Visualization Typography: Designing Legends, Labels, Titles, and Text

Yet again, we should place labels near the things they represent

Page 47: Visualization Typography: Designing Legends, Labels, Titles, and Text

This isn’t the most amazing chart. But the category labels are clear.

Page 48: Visualization Typography: Designing Legends, Labels, Titles, and Text

This breaks down when space is limited.

Pies are especially tricky because the chartwidth and height can’t be re-sized at will.

Page 49: Visualization Typography: Designing Legends, Labels, Titles, and Text

You can move the legend based on the width/height ratio of the containing box.

Page 50: Visualization Typography: Designing Legends, Labels, Titles, and Text

But this breaks down whenyou have a lot of textor a lot of pie slices.

Another good reason not to make pie charts with lots of slices :)

Page 51: Visualization Typography: Designing Legends, Labels, Titles, and Text

Data labels

Page 52: Visualization Typography: Designing Legends, Labels, Titles, and Text

Data labels can replace gridlines and add clarity.

Page 53: Visualization Typography: Designing Legends, Labels, Titles, and Text

But be careful. Labels can make the bar length look too long.

Page 54: Visualization Typography: Designing Legends, Labels, Titles, and Text

You can place the data labels inside the bars.

Page 55: Visualization Typography: Designing Legends, Labels, Titles, and Text

This only works if the shortest bar isn’t too short

Page 56: Visualization Typography: Designing Legends, Labels, Titles, and Text

All data labels need a minimum bar height or column width

Page 57: Visualization Typography: Designing Legends, Labels, Titles, and Text

You can make the text smaller. But you can only go so far.

Page 58: Visualization Typography: Designing Legends, Labels, Titles, and Text

Sometimes the data labels are too long to fit in your chart

Page 59: Visualization Typography: Designing Legends, Labels, Titles, and Text

Gridlines to the rescue!

Page 60: Visualization Typography: Designing Legends, Labels, Titles, and Text

How it all fits together

Page 61: Visualization Typography: Designing Legends, Labels, Titles, and Text
Page 62: Visualization Typography: Designing Legends, Labels, Titles, and Text

Text should be easy to read.

Page 63: Visualization Typography: Designing Legends, Labels, Titles, and Text

Text should help you

understand the data.

Page 64: Visualization Typography: Designing Legends, Labels, Titles, and Text

Questions?

Trina Chiasson | @trinachi | infoactive.co