Direct Labeling Archives - Depict Data Studio https://depictdatastudio.com/tag/direct-labeling/ Mon, 12 Feb 2024 16:27:15 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.4 How to Visualize Population Projections with Small Multiples Population Pyramids https://depictdatastudio.com/how-to-visualize-population-projections-with-small-multiples-population-pyramids/ https://depictdatastudio.com/how-to-visualize-population-projections-with-small-multiples-population-pyramids/#comments Mon, 12 Feb 2024 16:08:00 +0000 https://depictdatastudio.com/?p=15483 You'll see how to use small multiples population pyramids to show estimates over time.

The post How to Visualize Population Projections with Small Multiples Population Pyramids appeared first on Depict Data Studio.

]]>
A few months ago, one of my favorite students brought this graph to Office Hours:

(These aren’t the exact numbers, age ranges, or years. But you get the idea.)

She already knew how to make population pyramids in Excel. Population pyramids require Level 4 vizardy skills. Woohoo!

But she wanted to take the population pyramid a step further, and she wanted to show how the population might change over time, especially for older adults.

So, she followed this online tutorial to add those curvy lines. (Yep, it’s made with a combo chart in Excel.)

Bare-Minimum Edits

As usual, we tackled the bare-minimum edits first:

We also tried color-coding by year, instead of color-coding by sex, like this:

We were getting closer!

But we wanted to make sure that the forecasted numbers for 2030 were extremely obvious to viewers. For most of us, this isn’t a chart type that we see every day.

I was hesitant to keep the combo chart. This was an apples-to-apples comparison, so I wanted to use all bars.

(The bars/lines combo seemed more like an apples-to-oranges comparison, which this isn’t.)

Small Multiples Population Pyramids

Here’s a Dataviz Rule of Thumb:

Anytime your graph feels too dense… try creating more graphs.

Small multiples layouts can save the day!

The Traditional Version

We tried traditional and storytelling versions of a small multiples population pyramid.

Here’s what the traditional version would look like inside her report.

You’ll notice the topical titles, color-coding by category (one hue per year), and how the graphs are all one color.

The Storytelling Version

And here’s what the storytelling version would look like inside her report.

This version draws attention to the 65+ age group, which she wanted.

You’ll notice the takeaway title, the color-coding by category (one hue per year), the dark-light contrast (highlighting the residents who are ages 65+), and the annotations.

The Bottom Line

Even with the bare-minimum edits, I wasn’t a fan of the original combo chart. The bar-line combo was suggesting an apples-to-oranges comparison.

Instead, anytime your chart feels too dense (when there are literally lines and bars combined within one chart), try a small multiples layout instead!

We can format the chart as a traditional or storytelling version. In this case, storytelling was a perfect fit because we especially wanted to highlight the 65+ age group.

The post How to Visualize Population Projections with Small Multiples Population Pyramids appeared first on Depict Data Studio.

]]>
https://depictdatastudio.com/how-to-visualize-population-projections-with-small-multiples-population-pyramids/feed/ 3
The Data Visualization Design Process: A Step-by-Step Guide for Beginners https://depictdatastudio.com/data-visualization-design-process-step-by-step-guide-for-beginners/ https://depictdatastudio.com/data-visualization-design-process-step-by-step-guide-for-beginners/#comments Mon, 10 Apr 2023 15:08:00 +0000 http://annkemery.com/?p=4127 Visualizing numbers in charts, graphs, dashboards, and infographics is one of the most powerful strategies for getting your numbers out of your spreadsheets and into real-world conversations. But it can be overwhelming to get started with data visualization. In this step-by-step data visualization guide for beginners, I'll walk you through the data visualization design process so that you can transform your spreadsheets into stories.

The post The Data Visualization Design Process: A Step-by-Step Guide for Beginners appeared first on Depict Data Studio.

]]>

Visualizing data in charts, graphs, dashboards, and infographics is one of the most powerful strategies for getting your numbers out of your spreadsheets and into real-world conversations.

But it can be overwhelming to get started with data visualization. Does data visualization leave you feeling like the numbers are about to topple over on you??

Bar charts falling onto stick people.

If so, this step-by-step data visualization guide is for you!

I’ll walk you through the data visualization design process so you know what to do first, second, and third as you transform your spreadsheets into data stories.

Step 1: Understand Your Audience

Wait! Don’t start making graphs on your computer! First, we have to do some planning. A little bit of up-front planning will save you hours of blood, sweat, and tears in the long run.

First, we need to consider our audience and context. Who, exactly, is going to be using the data to make decisions?

Here are some discussion-starter questions to talk about with your colleagues.

Who is Your Audience?

A chart designed for a group of foundation program officers will not be appropriate for a group of high school principals, and vice versa.

List all your audience types on a piece of paper, or a whiteboard, or in a spreadsheet, or even on the back of a napkin. Share the list with your colleagues and make sure you’re on the same page.

Have you reached consensus about who you’re targeting with your data?

What’s Your Audience’s Numeracy Level?

Do they enjoy or fear data? Unless you’re designing charts for a group of economists or statisticians, you can usually leave out details like the effect size, power analysis, and margin of error. Laypeople are often more interested in practical significance (the “so what?” and implications of findings) than in statistical significance.

What’s Your Audience’s Data Visualization Familiarity Level?

If they’re brand new to dataviz, stick with the traditional charts like pie charts, bar charts, and line charts—otherwise they’ll spend more timing ooh-ing and aah-ing over the chart’s novelty than paying attention to the information contained in the chart.

How Much Time Does Your Audience Have?

Little time or interest: Simple static chart.

Lots of time and interest: Interactive charts.

What Types of Decisions Does Your Audience Make?

What information do they need? What information do they already have? What information are they expecting? How will your chart(s) add value for them?

If you can’t think of how your chart will add value for the readers, don’t make one. Every chart needs a purpose and so what?

How Much Precision is Necessary?

As the data visualization designer, you have the freedom (and responsibility) to select how much precision is necessary. Your selection should be well thought-out and intentional. Your decision plays out in two ways: the chart type you select, and how you label the data points.

When selecting chart types, remember that some charts are better than others in displaying precision. For example, charts that rely on angles and area to show differences, like pie charts, are for communicating general patterns. Charts that rely on length to show differences, like bar charts, are for communicating specific details.

How Many Decimal Places Are Necessary?

A related decision is how exact your data labels will be. Will you include decimal places? How many?

In most scenarios, you can safely round your decimal places to the nearest whole number. Your audience is rarely using the tenths, hundredths, or thousandths place to make decisions.

Are My Viewers Expecting a Story?

Think about whether your audience is expecting a traditional or storytelling graph.

You’ll learn about the distinctions in this video:

Step 2: Choose the Right Chart

It takes a while to understand all the different chart types and to pick the best one for your desired takeaway message. There are tons of great graphs to choose from!

Consult a Chart Chooser

My interactive Chart Chooser includes dozens of chart types, resources, tutorials, and templates.

My interactive Chart Chooser includes dozens of chart types, resources, tutorials, and templates.

New to Dataviz? Start with Classic Chart Types

If you’re not sure which chart to use, stick with classics like the bar chart to compare categories and the line chart to visualize how things change over time.

These charts will be “right” most of the time, so they’re a safe bet.

Use Pie Charts Sparingly

Contrary to popular belief, pie charts are not evil and don’t have to be avoided altogether. I have seven guidelines for using pie charts and donuts. In this pie chart makeover, I show you how to transform a 3D pie chart with way too many slices into a storytelling bar chart with icons:

Getting Comfortable with Dataviz? Branch Out and Try Other Chart Types

Once you’ve mastered the classic chart types, you can play around with less-familiar chart types like bubble charts, bullet charts, dot plots, heat maps, scatter plots, slope graphs, social network maps, tree maps, waterfall charts, and more.

Surround Yourself with Positive Inspiration

Surround yourself with great graphs so you can expand your worldview of what’s possible with data visualization. I suggest following top-notch data journalism teams like @PostGraphics, @NYTgraphics, and @WSJgraphics.

You can even create a physical or digital library of great graphs. For example, you might print full-page, full-color charts and tape them near your desk. Surrounding myself with a variety of chart types, all of which have been used in different reports and for different groups of people, helps me create brand new charts easily. All I do is glance up at my gallery, and then I quickly figure out which chart is best for my new situation.

Work space with computer and papers taped to the wall for inspiration and reference.

Dive Into Your Dataset with Exploratory Data Visualization Techniques

I also use exploratory computer strategies, like Microsoft Excel’s spark lines, data bars, and conditional formatting, to help me narrow down the focus of my charts.

Spark Lines

Here’s a tutorial that shows you how to get started with spark lines:

Data Bars

And here’s a tutorial that shows you how to get started with data bars:

Conditional Formatting

You can set up rules in your spreadsheet that automatically change the color of certain cells based on their values. I regularly use heat tables to scan my dataset for patterns. You can follow my step-by-step tutorial to make heat tables for your data.

You can set up rules in your spreadsheet that automatically change the color of certain cells based on their values. I regularly use heat tables to scan my dataset for patterns. You can follow my step-by-step tutorial to make heat tables for your data.

Sketch Rough Drafts on Paper

Step back from your software program. This is especially crucial if you’re using Excel or R (versus Tableau) where you usually need a solid idea of your chart’s design before implementing that design on the computer.

I sketch, draw, and doodle plenty of drafts before I create anything on the computer.

Here’s how it works: First, sketch plenty of rough drafts on paper. Give yourself permission to doodle as many drafts as you need. Share drafts with colleagues early and often. Gather as much feedback as you can. Next, create one or two of those promising drafts on the computer. Finally, edit, edit, edit! Put your easiest-to-follow chart in your final presentation or report. You might sketch five or more drafts. Only the single best chart will survive the editing process.

Here's how it works: First, sketch plenty of rough drafts on paper. Give yourself permission to doodle as many drafts as you need. Share drafts with colleagues early and often. Gather as much feedback as you can. Next, create one or two of those promising drafts on the computer. Finally, edit, edit, edit! Put your easiest-to-follow chart in your final presentation or report. You might sketch five or more drafts. Only the single best chart will survive the editing process.

Step 3: Select a Software Program

Once you’ve got a rough mental idea of what your visualization might look like, sit down and build the first draft of your visualization on the computer.

There are dozens of software programs available for building data visualizations. Some are free. Others are low-cost. And others are quite costly, at least for smaller organizations.

I’m software-agnostic at my core, meaning that I don’t care which program you use. You can create great — or terrible — graphs in any software program.

That being said, 99% of my data visualization consulting is done in Microsoft products: Excel, Word, and PowerPoint. Those are the common denominator for the companies that hire me. I’d never create a dashboard in a specialty software program… if you don’t also have access to it and know how to use it. It would be useless!

Here’s an example of an interactive dashboard made in good ol’ Excel. You can learn how to make these, and many other types, inside my Dashboard Design online course.

Step 4: Declutter

After you’ve got the first draft of your data visualization created on the computer, it’s time to refine your visualization and make your message shine. No computer program is perfect. You’ll have to roll up your sleeves and make intentional edits no matter which software program you’re using. The very first edit I make is to declutter my visualization. Software programs come with way too many borders, lines, and unnecessary ink. Examine each and every speck of ink on the chart. Does it have a specific purpose? If you can’t articulate a reason for that ink, you don’t need it.

Apply the Squint Test

In these before scatter plot on the left, the cluttered appearance distracts us from the data. All these extra lines make the charts look overly scientific—and outdated. In the after version on the right, I removed the background shading and borders. I kept the x and y axes and some of the grid lines, but I intentionally changed the black ink to gray ink.

How do you know when you’re done decluttering? Apply the Squint Test. Here’s how it works: Squint your eyes so that you’re peering at the chart through your eyelashes. Everything should look a little blurry. Can you see the overall shape of the data? For example, you should be able to tell if a line chart is jutting upwards or downwards over time. If not, try removing more clutter.

In these before scatter plot on the left, the cluttered appearance distracts us from the data. All these extra lines make the charts look overly scientific—and outdated. In the after version on the right, I removed the background shading and borders. I kept the x and y axes and some of the grid lines, but I intentionally changed the black ink to gray ink.

Outline Shapes in White

You’ve got the gist of decluttering. Now, let’s fine-tune!

Sometimes reducing clutter means outlining shapes in white, rather than black, so that they match the chart’s background color.

Sometimes reducing clutter means outlining shapes in white, rather than black, so that they match the chart's background color.

Step 5: Clarify Your Message with Color

There are three goals for color:

  1. Branding (Using your company’s colors, which saves time and helps you look professional)
  2. Accessibility (Making sure your colors pass official guidelines so they’re legible for people with disabilities, like ADA/508 compliance in the United States)
  3. accessibility (Using colors to make the graph feel intuitive)

Brand Your Visuals with Custom Colors

I’m begging you! Do not use the default colors from Excel, Tableau, or Google Charts. Nothing screams novice! or 2002! more than default color schemes. If you’re designing charts for a report, handout, or presentation for a client, use their color scheme. Consultants, this means the report will look like it came from the client. It will not have your firm’s look and feel.

In this example, Johanna Morariu and I were designing a slidedoc for the Working Families Success Network. We began by investigating the Working Families Success Network’s logo, website, and publications. Their logo has a distinctive blue, orange, and pink and their publications use dark gray text rather than black. Throughout their website they use color blocks with white text and white outlines. Next, we adapted that layout and color scheme for our slidedoc. The images on the right are separate slides (pages) of the report.

In this example, Johanna Morariu and I were designing a slidedoc for the Working Families Success Network. We began by investigating the Working Families Success Network's logo, website, and publications. Their logo has a distinctive blue, orange, and pink and their publications use dark gray text rather than black. Throughout their website they use color blocks with white text and white outlines. Next, we adapted that layout and color scheme for our slidedoc. The images on the right are separate slides (pages) of the report.

You can locate custom color codes in style guides, with a free eyedropper tool, or even with Microsoft Paint. Then, enter your custom color codes in Microsoft Excel or in Tableau.

Make Sure Your Colors Are Legible for People with Color Vision Deficiencies

Here’s how:

  1. First, by proactive and avoid using red-green color combos.
  2. Second, make sure you directly label your data.

Although we’re used to seeing legends, we rarely need them. Legends can lead to unnecessary zig-zagging around the screen or page, and legends can also be difficult to interpret if your graph is printed in grayscale.

Instead of using legends, directly label the data. Direct labels mean that you add labels as close as possible to the data. For example, in a line graph, you would delete the separate legend and place the category labels off to the right of each line. For bonus points, color-code the text in the labels to match the line.

This is what direct labels look like:

Although we're used to seeing legends, we rarely need them. Legends can lead to unnecessary zig-zagging around the screen or page, and legends can also be difficult to interpret if your graph is printed in grayscale. Instead of using legends, directly label the data. Direct labels mean that you add labels as close as possible to the data. For example, in a line graph, you would delete the separate legend and place the category labels off to the right of each line. For bonus points, color-code the text in the labels to match the line.

Then, you can upload your draft to www.color-blindness.com’s Color Vision Deficiency Simulator to get a preview of what it’ll look like for people with protanopia and deuteranopia.

Emphasize the Takeaway Message with the Action Color

When you want to tell a story with data, you can guide your viewer’s attention to your desired takeaway finding by creating a dark/light contrast. This example comes from one of my graduate school projects a decade ago, so I used the exact shade of green from my university’s logo. Then, I used dark green to draw my audience’s attention to a couple key parts of the slide. This slide comes from the fourth section or chapter of the presentation, the Limitations section, so that tab was highlighted in dark green so that it contrasted with the other tabs, which are in gray. The topic of this particular slide was Brevity of open-ended survey responses, so that text is in green so that it stands out against the rest of the text. And the box-and-whisker plot itself also uses dark green.

Chart showing four steps organized by color.

Step 6: Clarify Your Message with Text

It’s hard to get wording just right, so I usually save my titles, subtitles, and annotations for the end.

Brand Visuals with Custom Fonts

Rather than using Microsoft’s plain ol’ Calibri, make sure your visualization’s fonts match the project’s branding.

Write the Takeaway Finding in the Graph’s Title

Need to tell a story with data? Rather than using a generic title (“Figure 1” or “Number of youth served”), state the takeaway message in the title.

I first learned about this technique through Cole Nussbaumer’s Storytelling with Data workshop back in 2012—but geez, was it tough to apply! This is one of the hardest practices for social scientists to learn because we’re so comfortable with APA formatting and its generic figure titles.

Think Twitter-like and aim for six- to eight-word titles. Look to newspaper articles for inspiration; journalists know how to include the “so what?” in their title. You may or may not read the full newspaper story for additional details. Same thing with charts: your audience may or may not read your full chart, so your title must give them the gist of your findings.

Add Context with Annotations

Annotations are call-out boxes that provide important contextual details. In PowerPoint, Word, or Excel, you can easily create annotations by inserting a text box. No fancy software required!

Here’s a great example from Mother Jones. A generic title would’ve been “Number of children living in poverty” or “Relationship between poverty and geographic location.” This 6-word title, “In Climbing Income Ladder, Location Matters,” ensures that readers grasp the chart’s message instantly. A 2-line caption adds more details underneath the title, and a few cities are annotated. The tweet’s text also reinforces this message.

This is how likely poor kids are to grow up and move out of poverty based on where they live http://t.co/5A5VIZkLBN pic.twitter.com/7BBZQJ9bdg — Mother Jones (@MotherJones) January 31, 2014

Establish a Text Hierarchy

Size your fonts according to their importance. A text hierarchy tells your viewers which information is most important (headings) and which information is least important (the regular ol’ paragraphs). In this example, I transformed a university’s annual report simply by adding an intentional text hierarchy. I call this makeover a two-hour turnaround because these are changes that anyone can make in two hours or less. Before, all the font was the same size, so the headings didn’t stand out. The report looked like a sea of words. After, we made the headings stand out by with larger fonts and by overlaying the text on top of a photograph. We also used a different color for each section to break up the sea of words into manageable chunks.

Size your fonts according to their importance. A text hierarchy tells your viewers which information is most important (headings) and which information is least important (the regular ol' paragraphs).

Lower the Reading Level

The vast majority of reports, handouts, infographics, dashboards, and slideshows that I review with clients are written at a reading grade level that’s so high that reading the documents feels like homework. In this example, we assessed our draft’s reading grade level with a free tool called readable.io. Then, we re-worded the title so that it was a closer match for our intended audience.

The vast majority of reports, handouts, infographics, dashboards, and slideshows that I review with clients are written at a reading grade level that's so high that reading the documents feels like homework. In this example, we assessed our draft's reading grade level with a free tool called readable.io. Then, we re-worded the title so that it was a closer match for our intended audience.

Finally, go share your chart!

You’ll need to edit it slightly depending on the medium — a chart for a presentation should look different than a chart for a dashboard. You can learn about presentation-specific, dashboard-specific, and report-specific techniques.

Learn More

Sign up for my free online course called Soar Beyond the Dusty Shelf Report. There are several quick lessons that help you get started with data storytelling.

Or, contact me about online courses, private workshops, and conference keynotes.

The post The Data Visualization Design Process: A Step-by-Step Guide for Beginners appeared first on Depict Data Studio.

]]>
https://depictdatastudio.com/data-visualization-design-process-step-by-step-guide-for-beginners/feed/ 33
Are Viewers Expecting a Story? Lightning Talk from the DATAcated Expo https://depictdatastudio.com/are-viewers-expecting-a-story-lightning-talk-from-the-datacated-expo/ https://depictdatastudio.com/are-viewers-expecting-a-story-lightning-talk-from-the-datacated-expo/#respond Tue, 11 Jan 2022 16:08:00 +0000 https://depictdatastudio.com/?p=13705 How do you modify a graph so that it's just right for your audience? Surely a group of scientists will need something different from a group of policymakers. Some audiences adore data. Others don't. Some audiences have plenty of time. Others don't. In this blog post, you'll learn about: the differences between default, traditional, and storytelling graphs; which techniques can help you tell a story with data (e.g., dark colors); and when to use each type of graph.

The post Are Viewers Expecting a Story? Lightning Talk from the DATAcated Expo appeared first on Depict Data Studio.

]]>
Never, ever keep the default settings.

That was the overarching theme of my Lightning Talk at the DATAcated Expo, which was held virtually in October 2021.

You’re not going to keep the ugly, outdated defaults. Great!

But what should you do instead?

And how do you modify a graph so that it’s just right for your audience?

Surely a group of scientists will need something different from a group of policymakers.

Some audiences adore data. Others don’t.

Some audiences have plenty of time. Others don’t.

In this blog post, you’ll learn about:

  • the differences between default, traditional, and storytelling graphs;
  • which techniques can help you tell a story with data (e.g., dark colors); and
  • when to use each type of graph.

Watch the DATAcated Expo Lighting Talk

Missed the live event?

Watch the Lightning Talk here.

This is a 17-minute video. If you’re short on time, just watch a 10-minute segment — minutes 2 through 12 of the video.

Here’s a summary of what’s inside.

Defining the Term “Data Storytelling”

This is a tricky term with lots of definitions.

Some people love this term.

Others hate it.

In the recording, you’ll see me ask the attendees to share what “data storytelling” means to them.

You might define data storytelling as:

  • “What does data really mean, and what do you want it to tell.” — an Expo attendee
  • “Translating data for non-data centric users.” — an Expo attendee

And data storytelling is NOT:

  • Fiction
  • Making things up
  • Biasing our audience
  • Fudging the numbers

Data Storytelling in a Bar Chart

In the Lightning Talk, I showed attendees three versions of the same graph: default, traditional, and storytelling.

We’ll look at each of these side by side, so that you can see how they’re similar and how they’re different.

At the end, I’ll ask you to comment and share which style you think each of your audiences need.

The Default Bar Chart

We never, ever keep the default settings.

The Traditional Bar Chart

Instead, at a bare minimum, we need to design a traditional graph.

We would:

  • Enlarge the font
  • Enlarge the bars (by decreasing the gap width)
  • Remove the border
  • Add labels (optional—if we think our audiences would want specificity)
  • Adjust the scale
  • Use brand colors
  • Use brand fonts

It’s up to the viewers to read the chart and figure out the “so what?” for themselves.

The Storytelling Bar Chart

Sometimes, our audiences prefer storytelling graphs.

You already spent 60 seconds cleaning up the default settings.

In another 60 seconds of editing, we would:

  • Sort the bars (e.g., greatest to least)
  • Gray everything out
  • Highlight one takeaway finding with a dark color
  • Add the takeaway finding to the graph title
  • Bold a few key words to make the title even more skimmable

Data Storytelling in a Slope Chart

You can apply these principles to any and all chart types.

Here’s what the three different styles look like in a slope chart.

(A slope chart is just a fancy name for a line chart that has exactly two points in time.)

The Default Slope Chart

Defaults are for 2005.

We know better.

C’mon, Excel. And Tableau. And PowerBI. And and and.

The Traditional Slope Chart

At a bare minimum, we need to:

  • Enlarge the fonts
  • Adjust the scale
  • Remove the border
  • Add brand colors
  • Add brand fonts
  • Remove the legend and directly label the data

(Direct labels have three key advantages: They’re faster to read; they’re better for people who are colorblind; and they print better in grayscale.)

The Storytelling Slope Chart

Take the edited graph you just made, and keep going!

In a storytelling slope chart, we would:

  • Gray everything out
  • Highlight one thing at a time
  • Re-write the title and put the takeaway message in the title
  • Bonus points: Bold a few key words to make it even more skimmable

Which finding will you highlight in a darker color?

You might highlight:

  • The Success Story (Project A)
  • The Debbie Downer Story (Project C)

Be careful with red; in Western cultures, red means caution! warning! But colors are culturally-specific; in Eastern cultures, red doesn’t necessarily mean anything bad.

Data Storytelling in a Scatter Plot

We didn’t have time to discuss scatter plots at the DATAcated Expo, but I’d still like to share this example with you.

Here’s how data storytelling would be applied to a scatter plot.

Never keep the default settings!!!!!!!!!!

Traditional graphs are all one color and they have topical titles.

Storytelling graphs have a dark-light contrast and takeaway titles. For bonus points, you could label a few key points.

Data Storytelling in a Map

Finally, here’s how data storytelling would be applied to a choropleth map.

Never keep the default settings!!!!!!!!!!

In traditional maps, none of the colors stand out, and they have topical titles.

In storytelling maps, we’d add an intentional dark-light contrast and takeaway title. For bonus points, you could label a few key points.

When Should You Use Data Storytelling?

Comment below: When would you use each style?

Which of your audiences prefer traditional graphs?

Which of your audiences prefer storytelling graphs?

In the video, you’ll also hear the conference attendees share their perspectives, and you’ll hear from me, too.

The post Are Viewers Expecting a Story? Lightning Talk from the DATAcated Expo appeared first on Depict Data Studio.

]]>
https://depictdatastudio.com/are-viewers-expecting-a-story-lightning-talk-from-the-datacated-expo/feed/ 0
Accessibility Quick Wins: Remove Legends and Directly Label https://depictdatastudio.com/accessibility-quick-wins-remove-legends-and-directly-label/ https://depictdatastudio.com/accessibility-quick-wins-remove-legends-and-directly-label/#respond Tue, 30 Nov 2021 16:08:00 +0000 https://depictdatastudio.com/?p=13494 How do we make our graphs more accessible? There's a misconception that accessibility takes all day, that’s it’s costly and complicated. Those are all false.

Accessibility is woven into all my trainings, but since this is a topic I get asked about a lot, I decided to make a new talk that’s focused just on accessibility for dataviz.

The post Accessibility Quick Wins: Remove Legends and Directly Label appeared first on Depict Data Studio.

]]>
How do we make our graphs more accessible?

There’s a misconception that accessibility takes all day, that’s it’s costly, or that it’s complicated. Those are all false.

Accessibility is woven into all my trainings, but since this is a topic I get asked about a lot, I decided to make a new talk that’s focused just on accessibility for dataviz.

In Spring 2021 I gave a talk at the Good Tech Fest conference about dataviz accessibility quick wins.

The talk was a “Choose Your Own Adventure” style where the audience chose what we discussed from a list of options. They chose:

  • direct labels,
  • lower the reading level, and
  • lower the numeracy level.

You can watch the recording or read the highlights. Enjoy!

—–

Watch the Conversation

Here’s the main takeaway message: remove legends and directly label instead.

You probably know what a legend is, but direct labeling? What is that?

Let’s look at an example of a regular (inaccessible) graph.

Why Traditional Legends Don’t Work

When I saw this graph a few years ago, I actually liked most aspects of it.

I really liked parts of this chart, especially the the title, “What happened to women in computer science?”

I really liked the title in particular, and how it was phrased as a question, which gets the audience to engage. Two thumbs up to the title, “What happened to women in computer science?”

Legends Take Too Long to Read

But then I kept reading a little bit and I was like, “Wait a second… Time out.”

In full color I could mostly tell which section of the legend corresponded with which line. The turquoise lines were tricky because it’s hard figure out which is dark, which is medium, and which is lightest. Your eyes zig–zag back and forth trying to differentiate between the three. It’s really time-consuming.

Legends Don’t Work for Grayscale Printing

So it works in color, kind of, but what about grayscale printing?

Some people will view our graphs on-screen. Others will print them.

And if they’re printing the graphs, we should plan for grayscale printing. Colored ink is so expensive.

Some people will view our graphs on-screen. Others will print them. The grayscale version of this chart doesn't work at all.

It doesn’t work at all.

Legends Don’t Work for People with Color Vision Deficiencies

What about color blindness?

If somebody has a color vision deficiency and can’t differentiate between red and green, the lines would all look yellow.

Traditional legends don’t work; they’re a thing of the past.

So what to do instead?

Directly Label the Graphs

We’re going to directly label our graphs.

What does that mean?

Direct labeling means you put the labels as close as physically possible to the data.

In this line chart, you’d just add the labels off to the side of the line.

Direct labels are:

  • Faster for everyone to read (less eye zig-zagging)
  • Grayscale-friendly
  • Colorblind-friendly

A win-win-win!

Bonus points if you color-code the text to match the line it is labeling. (Red text for a red line, turquoise text for a turquoise line, and so on.)

The before and after versions. The after version is faster to read, grayscale friendly and colorblind-friendly. Win-win-win!

How to Label Pie Charts

We’ve looked at line charts.

So, how do we label a pie chart?

Friendly reminder: Pie charts aren’t evil. They can be used as long as you follow the rule of two: you’re only allowed two slices in your pie. Maaaaybe three. The dark slice will be what you want the viewers to really look at, versus everything else in gray. Simple, right?

But we still need to directly label them, and it’s as easy as putting the labels as close as physically possible to their slices.

For example, if you have short labels, you can place the labels on top of the pie slices.

How do you directly label a pie chart? By putting the labels as close as physically possible to their slices.

Now it’s speedier for people to read, it’s legible in grayscale, and it’s even legible for people with color vision deficiencies.

A question I get a lot is, “But if I have really long labels?” I know most of us aren’t comparing A to B.

If you have long labels, you can put your labels outside of the pie charts.

Bonus points again if you color-code the labels to the corresponding slices.

A question I get a lot is, “But if I have really long labels?” If you have long labels, you can put your labels outside of the pie charts.

How to Label Donut Charts

Here’s another scenario for you with donuts. You’ve seen these, right? They’re just a pie chart with a hole punched in the middle.

They have the same rules as pie charts: two slices (max), with one dark slice versus everything else.

But, it’s really hard to fit any labels on top of donut segments. So how do you label these?

You have three options:

  1. Outside of the donut segments
  2. Inside the donut itself
  3. Beside the donut
It’s really hard to fit any labels on top of donut segments. So how do you label these? 1) Outside of the donut segments 2) inside the donut itself or 3) Beside the donut.

How to Label Bar Charts

Have you ever seen this, where Excel gives a legend that reads something like ‘Series1’?

This is confusing for viewers. To fix it, all you need to do is delete the legend.

Have you ever seen this, where Excel gives a legend that reads something like ‘Series1’? This is confusing for viewers. To fix it, all you need to do is delete the legend.

How to Label Clustered Bar Charts

If your bars are long enough, you can place the labels on top of the bars, like this.

No need to label every single bar. Teach the viewers how to read the chart by labeling the top bars. Then, let them read the rest on their own.

If your bars are long enough, you can place the labels on top of the bars, like this.

During the Good Test Fest talk, an audience member asked how I added those labels.

You can:

  • Add text boxes on top of the bars (beware: clunky and time-consuming)
  • Use fancier automation techniques (e.g., concatenating the words and numbers together, a technique from this course)

How to Label Clustered Column Charts

I’m not a fan of putting the labels on the columns. The labels would need to be rotated vertically, which takes longer to read than horizontal labels.  

I typically use horizontal clustered bar charts to allow for horizontal labels, which are the fastest to read.

I typically use horizontal clustered bar charts to allow for horizontal labels, which are the fastest to read.

Download the eBook

Want to learn more about accessible data visualization?

In this ebook, you’ll learn 10 quick wins for designing accessible data visualizations. These small edits can have a big impact for our coworkers, board members, and funders who have color vision deficiencies, hearing loss, or learning disabilities–and for all of us who are pressed for time.

Download the Ebook

For your complimentary copy, use code: goodtechfest

The post Accessibility Quick Wins: Remove Legends and Directly Label appeared first on Depict Data Studio.

]]>
https://depictdatastudio.com/accessibility-quick-wins-remove-legends-and-directly-label/feed/ 0
When Your Graph Is Too Smooshed to Read https://depictdatastudio.com/when-your-graph-is-too-smooshed-to-read/ https://depictdatastudio.com/when-your-graph-is-too-smooshed-to-read/#comments Tue, 29 May 2018 15:08:40 +0000 http://annkemery.com/?p=9802 You want to display a lot of historical data--great! But sometimes we have so many points in time that our graph's labels get smooshy. In this post, I'll show you a before/after data visualization makeover in which we selectively labeled a few key milestones in order to tell our story (and make the graph more legible).

The post When Your Graph Is Too Smooshed to Read appeared first on Depict Data Studio.

]]>
You want to display a lot of historical data–great! But sometimes we have so many points in time that our graph’s labels get smooshy. In this post, I’ll show you a before/after data visualization makeover in which we selectively labeled a few key milestones in order to tell our story (and make the graph more legible).

Before

Here’s an epidemiologist’s before slide.

There are a lot of things going well in this slide already. For example, the graph already contained direct labels, the words classifications and deaths, rather than having a separate legend. Direct labels save viewers time because viewers don’t have to zig-zag their eyes across the slide and hunt for information. Direct labels are also better for people with colorblindness and for grayscale printing scenarios.

Another feature that was already working was the branding. This epidemiologist’s center used these exact shades of turquoise, blue, green, purple, red, and yellow across all publications. They also used Calibri in all publications. We didn’t need to change the colors or fonts.

Our priority on this graph was to make the line graph’s years easier to read. We wanted to avoid diagonal text, which takes longer to read than horizontal text. We also wanted to avoid the 9- point font. The years were barely legible for people sitting in the front row, let alone the back row. If nobody can read your graph, why bother?

Here’s an epidemiologist’s before slide. It has a lot of positives but we need to make it easier to read.

After

Here’s our makeover. We:

  • Transformed the title into a subtitle;
  • Wrote a new title, which is purposefully short for a live conference presentation (we didn’t want the audience to be reading a lengthy title while the epidemiologist was speaking);
  • Deleted the vertical label on the y-axis;
  • Deleted the horizontal label on the x-axis;
  • Abbreviated the years (1985 to ’85) to save a little extra space;
  • Only labeled a few milestone years;
  • Added a few numeric labels along the line (e.g., 77,173 diagnoses in 1993);
  • Increased all font sizes to 18 (and a 32 title); and
  • Removed the logo.

Two techniques fixed our smushed labels. First, abbreviating years—from 1985 to ’85—saves some space. Second, only labeling a few years—’85, ’93, ’96, and ’14—saves space and focuses attention on the milestones of your choosing.

We intentionally drew the audience’s attention to ’93 and ’96 to tell our story and match the epidemiologist’s talking points, as described below.

Here’s an epidemiologist’s after slide with changes made to make it easier to read.

Storyboarding for Live Presentations

Here’s how I envision the epidemiologist presenting the information. She would storyboard the information across three separate slides.

First, she would present this slide, and say: “We track how many people in the U.S. are diagnosed with and die from AIDS. This graph shows how many people were diagnosed and died between 1985 and 2014. In 1985, nearly 12,000 people a year were diagnosed with AIDS. In 2014, closer to 20,000 people a year are diagnosed with AIDS. And of course, there have been some ups and downs over the years, which we’ll talk about next.”

This graph shows how many people were diagnosed and died between 1985 and 2014. In 1985, nearly 12,000 people a year were diagnosed with AIDS.

Second, she would present this slide, and say: “I’m sure you noticed this peak right away. Seventy-seven thousand people were diagnosed in 1993. In 1993, there was a peak in diagnoses, probably because we expanded our definition.”

This graph has a peak that shows seventy-seven thousand people were diagnosed in 1993.

Third, she would present this slide, and say: “1996 was another milestone year. Beginning in 1996, we’ve seen fewer deaths, probably because of the success of highly active antiretroviral therapies.”

This graph shows that 1996 was another milestone year. Beginning in 1996, we’ve seen fewer deaths, probably because of the success of highly active antiretroviral therapies

In our makeover, the horizontal axis is actually legible, hooray!

We also transformed a single slide into three slides. The epidemiologist’s speaking points would be identical in both cases. Her pace would also be identical in both cases. She doesn’t need to talk any faster just because she’s got three slides instead of one. Only the visuals would change. Adding more slides doesn’t make my presentation any longer. Adding more slides guarantees that her audience’s attention is focused on the right part of the graph at the right time.

Have you encountered smooshed line graph labels in your own projects? How have you fixed this common problem?

Bonus: Download the Spreadsheet

Want to see how I selectively labeled a few key points on the horizontal x-axis? Download the spreadsheet.


Download the Spreadsheet ($0)

The post When Your Graph Is Too Smooshed to Read appeared first on Depict Data Studio.

]]>
https://depictdatastudio.com/when-your-graph-is-too-smooshed-to-read/feed/ 6
Removing Redundancies from My Old Graphs https://depictdatastudio.com/redundancies/ https://depictdatastudio.com/redundancies/#comments Tue, 28 Feb 2017 16:08:56 +0000 http://annkemery.com/?p=8166 Data visualizers who critique others before critiquing themselves make me gag, so I opened my recent keynote with a trip down memory lane. Check out this beauty from one of my earliest jobs. I've anonymized it but 99.9% of my work from this period had this look and feel, i.e., an overly-labeled graph that I made in Excel and pasted directly into Word without any editing at all.

The post Removing Redundancies from My Old Graphs appeared first on Depict Data Studio.

]]>
This morning I keynoted a conference in Tallahassee. Data visualizers who critique others before critiquing themselves make me gag, so I opened my talk with a trip down memory lane.

Check out this beauty from one of my earliest jobs. I’ve anonymized it but 99.9% of my work from this period had this look and feel, i.e., an overly-labeled graph that I made in Excel and pasted directly into Word without any editing at all.
Example of my older work that is an overly-labeled graph that I made in Excel and pasted directly into Word without any editing at all.
Redundancies made my graph look more complicated than it really was.

  • The title and the y-axis label were redundant.
  • The numeric labels on each data point and percentages listed down the y-axis scale were redundant.
  • If we’re going to label individual values on the graph, then we no longer need grid lines.
  • The full time period is unnecessary. This graph’s viewers–decisionmakers in a state education agency–would know that ’08-’09 means the 2008-2009 school year.
  • The markers (tiny squares) along with the numeric labels are redundant.
  • The control group’s dotted line and gray color are redundant. I often use dotted lines to represent projections so I removed the dotted lines here.
  • The legend leads to unnecessary zig-zags around the page. Direct labels are faster to read and hold up better in black/white printing scenarios.
  • And so on…

At the time, I adored these graphs because each graph represented hours of data cleaning and good ol’ fashioned hard work. I knew so much about number-crunching but so little about graph-making, and I was probably too tired after all the analysis to even think about the visualization. Plus, this was 2008. Let’s be honest. Everyone’s graphs looked like this in 2008.

Recently, I’ve been showing you one tip at a time, like deciding how far you’ll stretch your scale, whether you’ll use a regular or stacked chart, and whether your chart will be oriented vertically or horizontally. Today, let’s check out how lots of small edits–small deletions, in this case–add up to completely makeover your graph.

Continue scrolling for the play-by-play edits:
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Step by step showing how to strip down a chart of unnecessary labels, data, etc.
Intentional subtraction still blows my mind every time.

Purchase the template ($5)
 

The post Removing Redundancies from My Old Graphs appeared first on Depict Data Studio.

]]>
https://depictdatastudio.com/redundancies/feed/ 4