Dec 1, 2016

Random graphs (92): Line plot

import delimited "lfsi_grt_a_1_Data.csv", clear

replace value = "" if value == ":"

destring value, gen(percserv)

twoway ///
       (line percserv time if geo == "United Kingdom") ///
       (line percserv time if geo == "Netherlands") ///
       (line percserv time if geo == "Sweden") ///
       (line percserv time if geo == "Germany (until 1990 former territory of the FRG)") ///
       (line percserv time if geo == "Finland") ///
       (line percserv time if geo == "Portugal") ///
       (line percserv time if geo == "Hungary") ///
       (line percserv time if geo == "Bulgaria"), ///
       legend(order(1 "United Kingdom" 2 "The Netherlands" ///
                    3 "Sweden" 4 "Germany" 5 "Finland" ///
                    6 "Portugal" 7 "Hungary" 8 "Bulgaria") pos(2)) ///
       xtitle("") ytitle("Percentage of workforce in the service sector") ///
       xlabel(1992 1995(5) 2010 2014) ///
       note(" " "{it:Source:} Eurostat, lfsi_grt_a, date of extraction: 2016-12-01", span)