worldbank / r-econ-visual-library

This is a repository maintained by DIME Analytics and containing example graphs on how to create graphs for data analysis of Impact Evaluations using R.
https://worldbank.github.io/r-econ-visual-library/
MIT License
45 stars 22 forks source link

Color-blind friendly palette for the diff-in-diffs figure #25

Closed mizuhirosuzuki closed 3 years ago

mizuhirosuzuki commented 3 years ago

One of my friends told me that the color-blind friendly palette is not used for this diff-in-diffs figure. I simply forgot to use a color palette in this figure, and I guess you can add

  scale_color_brewer(palette = "Set2") +

in the ggplot expresion, as in https://worldbank.github.io/r-econ-visual-library/RDDCI.html.

luizaandrade commented 3 years ago

Thank you for pointing this out, @mizuhirosuzuki!