ggplot presents with an extremely powerful data visualization capability through R.
There are many different variations of graphs that one could come up with using this package.
Below, is a demo of a visualisation that could give the micro level detail of a CS network at a half hour interval for all the days of week.
All it takes is 3 lines of code with dummy data
There are many different variations of graphs that one could come up with using this package.
Below, is a demo of a visualisation that could give the micro level detail of a CS network at a half hour interval for all the days of week.
All it takes is 3 lines of code with dummy data
Interval level detail of forecast versus actuals |
data$interval=as.factor(data$interval)
data$day=factor(data$day,levels=c("Saturday","Friday","Thursday","Wednesday","Tuesday","Monday","Sunday"))
ggplot(data,aes(interval2,day,color=diff))+facet_grid(site~channel)+geom_tile()+theme_bw()+scale_fill_gradient(low="red",
high="yellow")
No comments:
Post a Comment