svg.selectAll('.node')
.filter(node => node.id.toLowerCase().includes(para_group))
.style('opacity', 1)
.attr("r", 10);
this is from a d3.js-used file, as seen above, “node” is the parameter of an anonymous function which is the parameter of filter() function, does the selectAll() function automatically passes the result as a parameter to filter() function?
New contributor
kawsar anwar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.