Plot Graph
1 | plot_graph(data, plot_var, plot_type, mapping, title_text, color_palette)
|
data |
Long data.frame or tiblle with columns: indicator, value |
plot_var |
Variable to be plotted |
plot_type |
Type of graph "bar", "donut", "hist", "hist.time", "lollipop" |
mapping |
Mapping from values to display labels. Long data.frame or tiblle with columns: indicator, oldlabel, newlabel, levelorder |
title_text |
Title of graph |
color_palette |
Three-color color palette for graph |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.