3 ms·
...in which case you'd have the same issue mentioned above with jQuery, in that d3.selectAll('.foo').selectAll('.bar'); $.find('.foo').find('.bar'); a
by candu 11y ago
...in which case you'd have the same issue mentioned above with jQuery, in that
d3.selectAll('.foo').selectAll('.bar');
$.find('.foo').find('.bar');
are consistent, whereas
d3('.foo').selectAll('.bar')
$('.foo').find('.bar')
are not. IMHO, d3's API is cleaner.