added average of values
added css loading
fixed performance issue
added custom colour feature to graphs