Live data from Hacker News

D3, Conceptually - Lesson 1

code.hazzens.com

31–34 of 34 posts

Re: D3, Conceptually - Lesson 1

#31

Scott Murray has published some great tutorials on D3.js ( http://alignedleft.com/tutorials/d3/ ), and has an O'Reilly book on "Interactive Data Visualization for the Web" that's about it as well: http://shop.oreilly.com/product/0636920026938.do

The ebook's 50% off today, if you use CYBERDAY as a promo code.

Re: D3, Conceptually - Lesson 1

#32
post #21
post #6

Earlier quoted context omitted.

This is one of the main reasons I'm writing these tutorials - small multiples (nested selections) in D3 are explained very poorly in the official docs, and are a constant stumbling block for coworkers not very familiar with the library. Sadly, getting around to properly explaining them will take another lesson or two.

Results after the first one fail to load in the latest Firefox. It looks like a Firefox bug btw, the style and script tags are not being added to the created iframes (except the first, which is always ok) unless I mess with the timing, either by using a 100ms delay in setTimeout() or a breakpoint with Firebug. PS: it's a fantastic tutorial, thanks for writing it!

I can indeed confirm that only the first example is displayed in firefox (17.0 on Windows XP)

Re: D3, Conceptually - Lesson 1

#33
post #32
post #21

Earlier quoted context omitted.

Results after the first one fail to load in the latest Firefox. It looks like a Firefox bug btw, the style and script tags are not being added to the created iframes (except the first, which is always ok) unless I mess with the timing, either by using a 100ms delay in setTimeout() or a breakpoint with Firebug. PS: it's a fantastic tutorial, thanks for writing it!

I can indeed confirm that only the first example is displayed in firefox (17.0 on Windows XP)

A little late, but I think I fixed this. Working for me now in 17.0/Windows 7
Post reply on HN