D3 barchart is created for the GUI which can resizable and draggable