News for hackers. Stuff that matters.
Re:D3.js: How to handle dynamic JSON Data by dpapathanasiou on Tuesday October 01, 2013 @10:36AM (#6476427)
I'm just getting started with d3 myself, and I found this ebook, which is free online, to be a great tutorial for all of things mentioned in the OP's post, but in greater detail:

http://chimera.labs.oreilly.com/books/1230000000345/index.ht...

Re:D3.js: How to handle dynamic JSON Data by kmfrk on Tuesday October 01, 2013 @12:11PM (#6477063)
It's definitely the best book there is, but you're going to need to practice a lot and read a lot of articles to really wrap your head around d3.js.

If I could recommend a way to learn d3.js:

1. Read Scott's book (and code the examples).

2. Think of some simple charts you want to make (and code them).

3. Use #d3.js@freenode, Stack Overflow, and see if some of the articles at http://www.d3noob.org/ fit what you're trying to do.

4. Go to http://bl.ocks.org/mbostock, be inspired, fork the code, and apply it to your own idea.

Repeat #3.

Ideally, find some kind of community where you can discuss with and help each other out regularly, but I don't really know of such a place, and it can be hard to find someone to do this with physically outside Paris, Berlin, NYC, and SF.

Re:D3.js: How to handle dynamic JSON Data by 1wheel on Tuesday October 01, 2013 @12:19PM (#6477127)
I haven't been to any, but from the google group it looks like London also has quality meetups pretty regularly.

This is my favorite getting started on d3 tutorial: http://www.jeromecukier.net/blog/2013/03/05/d3-tutorial-at-s...

Re:D3.js: How to handle dynamic JSON Data by kmfrk on Tuesday October 01, 2013 @04:56PM (#6479043)
It's peculiar how there are a billion beginner-level articles on d3.js, but the people who get stuck usually need something between that and intermediate.

If someone considers writing a d3.js tutorial, I'd urge them to use a real example, since this is where people realize they should use features like line.defined(), figure out how to implement gridlines yourself, and so on.

As great as d3.js, it's really hard to dive into the official wiki/docs as well as hit them for help.

Re:D3.js: How to handle dynamic JSON Data by 1wheel on Thursday October 03, 2013 @01:57PM (#6490669)
Wow, I've been using d3 for almost a year now and I didn't know that line.defined() existed.

I've made lots of stuff with d3 and never needed grid lines or dealt with undefined line values, so my 'getting your hands dirty' tutorial would probably deal with totally different issues than what would be useful for you. At a certain point, you just have to buckle down and read the documentation - a quick peak at the page for svg.axis shows how to get grid lines extremely easily (http://bl.ocks.org/mbostock/4323929).

Hanging out on the stackoverflow tag is also super helpful. I either know how to answer a question and get some internet points or Lars responds within an hour and I learn something new.

Re:D3.js: How to handle dynamic JSON Data by oscilloscope on Tuesday October 01, 2013 @06:36PM (#6479523)
The d3.js google group is a good place to discuss intermediate/advanced topics and get some help when you're hopelessly stuck. https://groups.google.com/forum/#!forum/d3-js
Re:D3.js: How to handle dynamic JSON Data by mattlutze on Wednesday October 02, 2013 @06:30AM (#6481634)
I would also check out the readings and resources linked on http://www.cs171.org

D3.js was a major focus of the course, and lectures from previous years are published for free, as well. It was really well structured.

Re:D3.js: How to handle dynamic JSON Data by ep103 on Tuesday October 01, 2013 @09:56PM (#6480172)
Should I learn d3 or three.js or raw canvas?
Re:D3.js: How to handle dynamic JSON Data by mcpherrinm on Tuesday October 01, 2013 @10:16PM (#6480229)
I would give different answers depending on what you're trying to do.

Do you have some data you want to visualize in an interactive way? Maybe try D3.js

Do you want to make 3d models or video games? THREE.js

Do you want to do custom 2D drawings that aren't suited to the previous two? Maybe raw canvas is for you.

Re:D3.js: How to handle dynamic JSON Data by mattlutze on Wednesday October 02, 2013 @06:32AM (#6481639)
Find some comparison tutorials between canvas and either of these, to see just how much more labor-intensive canvas tends to be. Then maybe make a decision as to what to dive deep into first.
Re:D3.js: How to handle dynamic JSON Data by Zecc on Wednesday October 02, 2013 @03:56AM (#6481242)
Did you mean: > Should I learn d3 or three.js or raw canvas first?
Re:D3.js: How to handle dynamic JSON Data by dnprock on Tuesday October 01, 2013 @02:02PM (#6477916)
I highly recommend reading Mike Bostock's tutorials:

https://github.com/mbostock/d3/wiki/Tutorials

Especially, the first four: Introduction, Three Little Circles, Thinking with Joins, How Selections Work.

These articles explain the basic concepts of d3.

Then learn by doing is the best way to go. For example, http://vida.io/explore

Re:D3.js: How to handle dynamic JSON Data by pnachbaur on Tuesday October 01, 2013 @03:11PM (#6478406)
The tutorial that helped me figure out how to use dynamic JSON data was the one on Path Transitions: http://bost.ocks.org/mike/path/
Re:D3.js: How to handle dynamic JSON Data by joeblau on Tuesday October 01, 2013 @12:06PM (#6477029)
D3.js is a beast, but it can be tamed. It took me a month to wrap my head around what was going on, but once you figure out what's happening, the data visualizations you can create are amazing.
Re:D3.js: How to handle dynamic JSON Data by danso on Tuesday October 01, 2013 @12:17PM (#6477112)
Whoa, I purchased this book when it was in pre release and even then hath ought it was wonderful. Not only is it he best walk through of D3 so far written, it's one of the best explanations of HTML and JavaScript, even for relative newbies.

That it is free is a huge act of generosity.