draw interactive barchart