Javascript code that draw a graph (a graphic that link dots of arcs in a imaginary circle)