graph with right js libraries