Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

[DATA VIZ] standards #230

Closed
stephanieosan opened this issue Jun 26, 2014 · 26 comments
Closed

[DATA VIZ] standards #230

stephanieosan opened this issue Jun 26, 2014 · 26 comments
Assignees

Comments

@stephanieosan
Copy link
Member

Here are screenshots from the excel file. Also emailing the team the document. @mebates Did you have concerns about any of the principles outlined, or just the recommended color palette?

screen shot 2014-06-26 at 5 52 27 pm
screen shot 2014-06-26 at 5 52 48 pm
screen shot 2014-06-26 at 5 52 58 pm
screen shot 2014-06-26 at 5 53 05 pm
screen shot 2014-06-26 at 5 54 57 pm
screen shot 2014-06-26 at 5 55 06 pm
screen shot 2014-06-26 at 5 55 10 pm

@stephanieosan stephanieosan added this to the Identity Discussion milestone Jun 26, 2014
@mebates
Copy link
Contributor

mebates commented Jun 27, 2014

Thanks Stephanie. My issue is only with the palette, and mainly with the pie chart. (The thoughts below also apply to the bar chart with Green and Teal at 100%) I came upon them when I was working on the CR Snapshot graphs this last time around.

  • To me, the palette is too heavy overall. I think the Teal and Neutral at 100% dominate the CFPB Green shade, giving those wedges more importance than the primary wedge.
  • In addition, I find that having the Neutral as an early part of the palette creates a 'Thin Mint' palette, which doesn't seem on brand to me. The scheme is jarring.
  • I'm worried that sequencing the same value tones next to each other makes it hard to read, and would be harder when photocopied. Instead of 100%, 100%, 100%, 80, 80, 80, etc., I think it should be 100, 80, 50, 100, 80, 50 or something of that sort.
  • Unfortunately, we have to plan for a lot of wedges. As much as we want to limit it, our clients don't.
  • We also need to look at how the palette looks in CMYK and RGB in Adobe Creative Suite. Excel lightens the colors quite a bit.
  • (I can't find the palette with Pacific in your Excel file, my comments are about 6 wedge+ palette. We should think through how the palette works with 2-10 wedges)

Excel palette:
screen shot 2014-06-27 at 3 37 56 pm

CMYK palette, matching Excel (appears so much darker):
screen shot 2014-06-27 at 3 38 42 pm

Alternative palette (just a starting point):
screen shot 2014-06-27 at 3 41 24 pm

@stephanieosan
Copy link
Member Author

During the crit today, we talked about high-level goals for the revised color palette:

  • avoid 100% teal, it's too dark in CMYK
  • avoid the neutrals for large slices, feels less on-brand
  • avoid using tints of the same color adjacent to each other, makes it seem like there is a correlation
  • try to use varied levels of tints next to each other 100,80,50,etc (better for contrast + accessibility)

To follow up on:

  • Test that the palette works when photocopied
  • Test that colors work for color blind users
  • Test that palette works in grayscale

@mebates
Copy link
Contributor

mebates commented Jul 11, 2014

Working on the complaint graphs again. How about this scheme? It pulls in some lighter shades of Pacific before going to the brown.

screen shot 2014-07-11 at 2 18 05 pm

screen shot 2014-07-11 at 2 21 25 pm

@elizbond
Copy link
Contributor

How would this work for line graphs so there is enough contrast between lines if printed in black and white?

@Dnpizarro
Copy link
Contributor

@stephanieosan and @mebates, has there been any testing on the following, as stated above:

  • Test that the palette works when photocopied
  • Test that colors work for color blind users
  • Test that palette works in grayscale

Also, to follow up on @elizbond question, any idea on how this would work with line graphs?

@elizbond
Copy link
Contributor

When the Teal 50 is next to the CFPB green, there's not enough contrast in grayscale.

@elizbond
Copy link
Contributor

Recent questions about histograms from the data team.

"We were recently asked about whether there was any guidance on how many bins should be shown in a histogram. Does anyone on your team know of any research about this? We found something about optimizing bin size but not # of bins. If we need to, we can just try out different bin sizes during our larger regroup."

After asking Twitter, this is what they found.

"The bin sizes really depend on the data. With that being said you would have to experiment and play with different bin sizes to determine what the best size is. If bins are too big you could miss trends vice versa."

Do we have any recommendations or preferences?

@amycesal
Copy link
Collaborator

Pulling up this issue again.

I'd like to see if we can take a holistic look at the data visualizations CFPB creates and hopefully include some standards and guidelines in the design manual. It would be super awesome if we could do some user testing too.

I lead the creation of a data visualization style guide for the Sunlight Foundation, which might be a good start. It's probably more informal in tone than we would want, but I think having suggestions on what type of graph is appropriate is useful. http://sunlightfoundation.com/blog/2014/03/12/datavizguide/

@elizbond
Copy link
Contributor

+1 @amycesal when things settle down post-immersion I'll work with you to gather examples I've seen go out the door. We can loop in Erin Simpler from the data team too!

@amycesal amycesal self-assigned this Jun 1, 2015
@amycesal
Copy link
Collaborator

amycesal commented Jun 2, 2015

Basically, I just want to start by compiling a list of stuff we've done. That way, we can look at trends, what's working, what isn't and start to make some decisions about standards going forward. This is my "crazy call for examples".

Maps

HMDA http://www.consumerfinance.gov/hmda/
screen shot 2015-06-02 at 4 18 38 pm

Bar Graphs

HMDA http://www.consumerfinance.gov/hmda/
screen shot 2015-06-02 at 4 22 20 pm

Owning a Home http://www.consumerfinance.gov/owning-a-home/check-rates/
screen shot 2015-06-02 at 4 25 12 pm

Excel Templates/reports
screen shot 2015-06-02 at 4 35 42 pm

Consumer Response 1 pager
http://files.consumerfinance.gov/f/201503_cfpb_complaints-by-the-numbers.pdf
screen shot 2015-06-02 at 4 45 10 pm

What else have we done @exafox @tanderegg @stephanieosan @ohsk @designlanguage @mebates ?

@stephanieosan
Copy link
Member Author

What about Tableau visualizations? @elizbond

@exafox
Copy link

exafox commented Jun 8, 2015

Yes @stephanieosan, at least the complaint topline reports should be under consideration. (There a number of other Tableau dashboards as well.)

Also the Mortgage Chartbook would be something worth studying, as a lot of work that goes into it and it is pretty sharp.

Send me an old fashioned email and we can see about getting you folks copies?

@elizbond
Copy link
Contributor

elizbond commented Jul 2, 2015

I decided to go through some of the data-heavy reports and pull out any custom charts we did (i.e., outside of the excel template). Examples with the source material are below.

Consumer credit reports: A study of medical and non-medical collections

Report

screen shot 2015-07-02 at 11 05 28 am

screen shot 2015-07-02 at 11 05 38 am

One color line graphs
screen shot 2015-07-02 at 11 05 49 am

screen shot 2015-07-02 at 11 06 11 am

Arbitration

Report

screen shot 2015-07-02 at 11 12 57 am

screen shot 2015-07-02 at 11 14 13 am

screen shot 2015-07-02 at 11 17 45 am

screen shot 2015-07-02 at 11 18 43 am

Strategic plan

Report

screen shot 2015-07-02 at 11 26 36 am

Card Act

Report

screen shot 2015-07-02 at 11 29 00 am

screen shot 2015-07-02 at 11 29 07 am

screen shot 2015-07-02 at 11 29 16 am

screen shot 2015-07-02 at 11 29 26 am

Waterfall
screen shot 2015-07-02 at 11 29 53 am

Manufactured Housing White Paper

Report

screen shot 2015-07-02 at 11 32 15 am

@amycesal
Copy link
Collaborator

amycesal commented Feb 4, 2016

This is a good set of examples to start with! If there's more, that would be great too. I'm planning a brainstorm in DC for Feb 18th to look at examples of what we've done, and to plan where we want to go with this.

Recently there was a post (http://policyviz.com/style-guides) about other data visualization style guidelines that exist. Most relevant to us are probably:

I'd like to go through those and talk about what they do well, and what sorts of guidelines could be applicable to what we are trying to create.

There's also the question of scope, and when people should use the guide. I think it's unrealistic for every graph to fit standards because there's a lot of exploratory process that needs to happen when digging through data. My thoughts right now as a flowchart:
screen shot 2016-02-04 at 4 39 17 pm

Anyways, this is moving! And hopefully scope and steps will be more defined soon.

@amycesal
Copy link
Collaborator

amycesal commented Feb 9, 2016

Note: a lot of our data comes in ALL CAPS. We should address this and decide what use and how much ALL CAPS is appropriate (hint: less than all).

good source to look at for text alignment and why:
http://www.storytellingwithdata.com/blog/2012/09/quick-tip-left-uppermost-align-title

@mebates
Copy link
Contributor

mebates commented Feb 11, 2016

@amycesal love your flow chart, makes perfect sense.

I think it's less important for us to have really aggressive and specific type and style standards for data viz than it is for an editorial publication. I'm most attracted to the checklist and gov.uk's standards. I wonder if we should start by forking gov.uk and just modifying slightly from there. Might speed things up and get us to an MVP very quickly.

@caheberer caheberer removed this from the Identity Backlog milestone Feb 17, 2016
@amycesal
Copy link
Collaborator

Yesterday @designlanguage @marteki @ekellett Cesar Brittany and I met to brainstorm.

We reviewed other data guidelines and ways to help creators figure out what chart type would be best. There was some dot voting as to what worked well, and could apply to us, and what didn't.

image2 image1 3

We looked at a wall of charts made all over the bureau that was overwhelmingly green to get a sample of what is being created now, what was working well, and what could be improved.

Then we brainstormed where we want to be and how we get there

image4 image3

with the creation of a guide being the first step.

Based on our review of other guides and what we want to include, I created a draft outline of a guide.

Draft outline

Help/Contact info
  • housed internally.
Intro and usage guidelines.
  • flowchart.
  • why storytelling, audience and purpose are useful.
  • guiding questions.
  • where to find templates.
Anatomy of a chart.
  • define the terms.
flowchart of chart suggestions.
  • examples of chart types.
  • why each is useful
Color.
  • define.
  • why it’s important.
  • show samples with hex, rgb, cmyk.
  • categorical vs. sequential.
  • show bad contrast with color blindness and grayscale.
Text.
  • how titles should be used.
  • Font samples.
  • label samples.
  • show sample chart with title
Arrangement.
  • Define visual hierarchy.
  • describe why important.
  • show example.
Emphasis.
  • define how used.
  • show label examples.
  • show color examples.
accessibility.
  • how we account for it.
  • what to check.
data integrity
  • things should add up to 100%
  • how to add sources.
further resources

@amycesal
Copy link
Collaborator

Natalia brought up a good point about data integrity and things adding up to 100% that should probably also be addressed in these guidelines. I added it to the draft outline above.

Once guidelines are established, we can create templates. Useful templates would probably include

Templates to create

  • word/excel/ppt
  • Creative Suite (illustrator/indesign)
  • Tableau
  • d3.js
  • R/ggplot2/R shiny

social sharing ideas

  • greatest hits/ awesome examples collection
  • office hours
  • consult/education meetings
  • speakers
  • community of practice/ Friday brags
  • reaching out to other groups in the organization

Next steps include:

  • talking to @elizbond to set up a roadmap/plan to hit goals
  • setting up a regular meeting with core members to checkin about progress
  • figuring out where this sits in the design manual

@amycesal amycesal added this to the Next up milestone Feb 22, 2016
@amycesal
Copy link
Collaborator

amycesal commented Mar 3, 2016

First up: bar charts! #401

@amycesal
Copy link
Collaborator

Next up: Line charts! #403

@amycesal
Copy link
Collaborator

amycesal commented Apr 5, 2016

passing the ball to @designlanguage to sort out typographic hierarchy for print, web, and social.

starting to figure out the parts of a chart and how to call out what's important.
parts-of-a-chart_01

@designlanguage
Copy link
Member

Here are some do-nots and ideas for recommendations. More to come.

parts-of-a-chart_03gk

@amycesal

@amycesal
Copy link
Collaborator

Issue about color: #405

@amycesal amycesal changed the title Data viz standards [DATA VIZ] standards Apr 15, 2016
@stephanieosan
Copy link
Member Author

Amy took data viz standards on as a whole different project. I'm closing this issue!

@benguhin
Copy link
Contributor

@amycesal @stephanieosan I'd love to see where y'alls have landed on this! Could be helpful to fork for our teams in Austin

@amycesal
Copy link
Collaborator

@benguhin this is where we landed: https://cfpb.github.io/design-manual/data-visualization/data-visualization.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants