Awesome D3 11 years agoWe wanted to focus more on tools and plugins, not on visualization examples because many resources for that already exist. 0ThreadHN
Node.js scraping libraries 11 years agoI like the code examples for every library presented in the article. 0ThreadHN
Replacing jQuery with D3 11 years agoD3 implements many other features like scales and stuff. The two just have some parts in common when it comes to DOM-manipulations and selections. 0ThreadHN
Replacing jQuery with D3 11 years agoYes you can. Both libraries are based on document.querySelectorAll which has the same selectors as you know them from CSS. 0ThreadHN
Replacing jQuery with D3 11 years agoThat's true. I am still often missing the shorthand versions if jQuery when working with d3. For example doing something like this:$('.foo').append('<div class="bar" data-selected="true"/>');in d3 I have to go the long way:d3.select('.foo') .append('div') .classed('bar', true) .attr('data-selected', true);I have recently worked a lot with this plugin https://github.com/gka/d3-jetpack which includes some very nice helper functions! 0ThreadHN
Replacing jQuery with D3 11 years agoFrom my perspective I would rather have $.select() instead of $() because it makes more clear what this function actually does. 0ThreadHN
Berlin 1945 and Today 11 years agoThere is a similar project on this: http://www.washingtonpost.com/blogs/worldviews/wp/2014/11/06... 0ThreadHN