Exploring Selection in D3
Notes :
select function lets you create d3 selections using a selector string where you can select elements that are already on the page.
selectAll :
- svg.selectAll('circle')
- It makes a d3 selection that contains all circles that exist within that svg.
- In this example we see that d3.join has done the 'enter' ,'update' and 'exit' function internal work for us.