Trying to finish the D3 Scatter Plot graph question but there is an issue with D3 showing all the values on the graph as I am selecting all circles and entering data values.
Please help me to resolve this issue.
Update: Ok so now the issue is resolved.
Initially, I was selecting all the circles i.e svg.selectAll(“circles”), and this way it was skipping 2 values (index 0, 1).
Then I changed it to svg.selectAll(".dot") and it is working fine.
Can someone explain this, please?