| add_commonslib_titles | Add titles to a plot using the Commons Library style |
| annotate_commonslib | A wrapper for the annotate function in ggplot2 |
| clcharts | clcharts: Tools for making charts in the House of Commons... |
| commonslib_color | Get the hex code for a commons library palette color |
| commonslib_colors | Palette colors as a named vector |
| commonslib_party_color | Get the hex code for a commons library party color |
| commonslib_party_colors | Party colors as a named vector |
| geom_text_commonslib | A wrapper for the text geometry in ggplot2 |
| get_commonslib_colors | Function to extract commonslib colors as hex codes |
| get_commonslib_palette | Return a function which interpolates a commonslib color... |
| load_fonts | Load the font files needed for the theme |
| save_png | Save a plot as a png |
| save_svg | Save a plot as an svg |
| scale_color_commonslib | Color scale for commonslib colors |
| scale_fill_commonslib | Fill scale for commonslib colors |
| theme_commonslib | Commons Library ggplot theme |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.