• Laura Whiting

A Sparkline Plot in Stata

A sparkline plot is used to graph multiple Y variables, or multiple categories in a single Y variable, against a single X variable. Plots are stacked vertically for comparison.


To create a sparkline plot your first need to download the sparkline command from the SSC, which you do in Stata with the following command:

To generate this graph in Stata, use the following commands:


43 views0 comments

Recent Posts

See All