Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

ggplot2 multiple lines geom_line

# Visualization
ggplot(df, aes(x = date, y = value)) + 
  geom_line(aes(color = variable, linetype = variable)) + 
  scale_color_manual(values = c("darkred", "steelblue"))
Source by www.datanovia.com #
 
PREVIOUS NEXT
Tagged: #multiple #lines
ADD COMMENT
Topic
Name
6+9 =