visualization done using javascript