I\'m trying to access the cx & cy attributes of some specific svg circles which i have already drawn to the screen using d3.js\'s .data() function, can anyone help out? The
There is even simpler way: (providing index i is given)
i
d3.selectAll("circle")[0][i].attributes.cx.value
as it can be seen here.