Move styling of graph and table to css file.
Use += to append to a string
define object more elegantly