Played around with D3 library. Had trouble to create circles. Now circles are created but the code is a mess