eq() is equivalent to selecting an item from an array and can be replaced by using bracket notation (e.g., arr[1]). In D3 you can do selection.classed('active', false). This is equivalent to toggleClass(). According to…
eq() is equivalent to selecting an item from an array and can be replaced by using bracket notation (e.g., arr[1]). In D3 you can do selection.classed('active', false). This is equivalent to toggleClass(). According to…