News for hackers. Stuff that matters.
Re:D3 3.3 Released by JungleGymSam on Thursday August 22, 2013 @05:41PM (#6260285)
> but it is pretty easy to write and pretty easy to understand

I wish I was as smart as you because D3 makes almost zero sense to me. I think there's something I'm missing that, once it clicks, will change things. <fingers crossed/>

Re:D3 3.3 Released by ganeumann on Thursday August 22, 2013 @07:16PM (#6260723)
It's not a question of smartness. Take a working example of code and make it do something else. I'm sure I took some bar chart code from one of Bostock's examples and used that as a base. After a few hours of struggling with it (and with freakin' Javascript) and trial and error debugging, it became clear to me what d3 wanted me to do. Then it was easy.
Re:D3 3.3 Released by jamesjporter on Thursday August 22, 2013 @10:42PM (#6261396)
In my experience D3 is very much like that. Before you wrap your head around the way its data binding model works it seems totally arcane (esp. if you are like me coming from using other visualization tools, like matplotlib, where the hello world example is just "plot(x,y)"). Keep banging your head against the wall, it will eventually crumble and all will become clear.
Re:D3 3.3 Released by coldtea on Thursday August 22, 2013 @05:47PM (#6260313)
The fact that it's like a functional set of transformations, using closures?

Perhaps you're thinking to imperatively. Read a simple D3 tutorial and things will click.