Add loading indicator for graphs