added dom element to attach graph to