News for hackers. Stuff that matters.
Re:D3.js 101 - Technical Intro by TannerLD on Monday February 04, 2013 @11:00AM (#5164748)
These two-dimensional presentations confuse me if I don't realize they are two-dimensional at first. I press the right arrow key through the entire presentation and I find it much shorter than I imagined. Then I realize you have to go down as well.
Re:D3.js 101 - Technical Intro by feralmoan on Monday February 04, 2013 @11:59AM (#5165237)
I wish I could just figure out what content is actually on this thing and skip to the parts that are interesting. Just because people can reveal.js doesn't mean they should. ugh
Re:D3.js 101 - Technical Intro by cstuder on Monday February 04, 2013 @11:55AM (#5165197)
It's reveal.js and yes, confusing.

Don't think too much, just hit 'Space' and it will guide you correctly through the slides.

Altough even the guided tour feels spatially incorrect...

Re:D3.js 101 - Technical Intro by 1_player on Monday February 04, 2013 @11:12AM (#5164840)
I was very interested to see a presentation about D3.js, I struggled to wrap my head around it a few days ago and left for simplier libraries. I opened this presentation and I can't figure out in which order should I visit these pages. I closed it in anger.

Good intentions, awful execution.

Re:D3.js 101 - Technical Intro by sebg on Monday February 04, 2013 @12:19PM (#5165446)
check out http://www.dashingd3js.com - I wrote it and it starts at the basics and goes from there...
Re:D3.js 101 - Technical Intro by thirsteh on Monday February 04, 2013 @11:26AM (#5164943)
Go right till you see a down arrow, go down until you can't go down further, then go right, and repeat. It's silly and unnecessary, yes, but not that hard.
Re:D3.js 101 - Technical Intro by watmough on Monday February 04, 2013 @09:51PM (#5168742)
Just use the space bar.
Re:D3.js 101 - Technical Intro by teamonkey on Monday February 04, 2013 @11:19PM (#5169026)
On iOS?
Re:D3.js 101 - Technical Intro by adhipg on Monday February 04, 2013 @12:02PM (#5165264)
You can press <ESC> to see an overview of the whole presentation - which is interactive.
Re:D3.js 101 - Technical Intro by insraq on Monday February 04, 2013 @11:15AM (#5164867)
Agreed. They look cool, but they are usability disaster.
Re:D3.js 101 - Technical Intro by bengillies on Monday February 04, 2013 @12:18PM (#5165436)
It really depends on who your intended user is. If the slides are intended to form a presentation (quite likely), then the user is often the person making the slides in the first place. In such cases they're not a usability disaster at all. Rather, they're really helpful (being able to switch between different sections, or miss sections that your audience already knows about easily is really useful).

On the other hand, if the slides are intended for reading, then yes, they may be a usability disaster. But then, slides aren't going to be the best format for reading anyway.

Re:D3.js 101 - Technical Intro by scottcheng on Tuesday February 05, 2013 @01:01AM (#5169407)
Exactly. Thanks bro.
Re:D3.js 101 - Technical Intro by mattmanser on Monday February 04, 2013 @11:03AM (#5164767)
As a fun but related aside, Wistia are using d3 for a pretty cool background on their developer docs:

http://wistia.com/doc/upload-api

Click on the background to see the voronoi cells, script here:

http://wistia.com/doc/javascripts/voronoi.js

Re:D3.js 101 - Technical Intro by adamesque on Monday February 04, 2013 @02:49PM (#5166604)
Another fun but related aside: I used d3 to help generate layouts of tightly packed circles, which are then used as the animated background in my agency's 2013 holiday poster.

Generator: http://2013.poster.thirteen23.com/generator/

Poster: http://2013.poster.thirteen23.com/

Re:D3.js 101 - Technical Intro by adamesque on Monday February 11, 2013 @08:05PM (#5204545)
I just wrote a little bit about building the generator: http://thirteen23.com/garage/2013/02/building-our-bubbly-pos...
Re:D3.js 101 - Technical Intro by pc86 on Monday February 04, 2013 @04:06PM (#5167137)
This is pretty cool. I'd be interested in reading a blog post about how you did this, pitfalls you encountered, etc.
Re:D3.js 101 - Technical Intro by adamesque on Monday February 04, 2013 @04:15PM (#5167183)
Thanks! There's a barebones colophon in the HTML source, and I've published the source code [1], but I do intend to write up sometime soon.

[1]: https://github.com/thirteen23/2013-holiday-poster

Re:D3.js 101 - Technical Intro by scottcheng on Tuesday February 05, 2013 @01:02AM (#5169413)
Beautiful work! Love the shining.
Re:D3.js 101 - Technical Intro by sighlent on Monday February 04, 2013 @11:12AM (#5164845)
Re:D3.js 101 - Technical Intro by uzusan on Monday February 04, 2013 @01:19PM (#5165917)
Thanks for posting this, I had read part of those tutorials a few weeks back and they were really great at explaining the logic, but I couldn't find them again when I wanted to show them to a colleague.
Re:D3.js 101 - Technical Intro by firen on Tuesday February 05, 2013 @12:31AM (#5169333)
Thank you for posting this!
Re:D3.js 101 - Technical Intro by brucehubbard on Monday February 04, 2013 @12:31PM (#5165566)
http://tributary.io/ is a cool playground for d3.js.

Also http://www.dashingd3js.com/ is a good tutorial for learning d3.js (goes into more detail than the linked slideshow).

Re:D3.js 101 - Technical Intro by brucehubbard on Monday February 04, 2013 @12:35PM (#5165596)
I mocked up a simple chart using d3 in tributary for our development team last week if anyone is interested in looking at it: http://tributary.io/inlet/4637557

I tried to add tons of comments explaining what's going on.

Re:D3.js 101 - Technical Intro by scottcheng on Tuesday February 05, 2013 @12:55AM (#5169390)
I'm the guy who made this presentation. I see a lot of complaints about the two-dimensional layout of slides, so let me say that this was made for a talk, and I put it online so that my audience could play with it when I gave my talk. Also, during my talk, I did lots of real-time demos on that empty playground page and highlighted a bunch of technical details that are not on the slides. Therefore I agree with those who find it confusing that this is definitely not the best reading material for learning d3, but like @bengillies said, it served my purpose as the presenter.

If you are interested in learning d3, there are a bunch of tutorials on the GitHub wiki: https://github.com/mbostock/d3/wiki/Tutorials, and I like this one in particular: http://mbostock.github.com/d3/tutorial/circle.html. Not comprehensive, but very clear on what it covers.

Let me also recommend this talk for d3 starters: http://vimeo.com/35005701. It starts with very basic stuffs (JSON), and has lots of live demos. I kinda learned from it when making this presentation.

Re:D3.js 101 - Technical Intro by avianchaosx on Monday February 04, 2013 @11:14AM (#5164865)
I did a SkillShare presentation on D3.js a few months ago covering basic topics and workflow within D3.js. People might find it useful after looking at this presentation, since it goes a little bit more in-depth with documented source code.

http://kpeng.github.com/d3-workshop

Re:D3.js 101 - Technical Intro by ssfermoy on Monday February 04, 2013 @02:42PM (#5166549)
The best things about D3 are how well documented it is and the volume of examples available: http://bl.ocks.org/mbostock

I wanted to map a few tweets the other day and the examples helped a lot

http://shanes-tests.appspot.com/d3

Re:D3.js 101 - Technical Intro by RokStdy on Monday February 04, 2013 @12:04PM (#5165286)
I wholeheartedly enjoyed the presentation (which makes me a weirdo I guess). The content was also really good. I have been wanting to fool around with D3, but it seemed too daunting.
Re:D3.js 101 - Technical Intro by wavesounds on Monday February 04, 2013 @05:09PM (#5167506)
Anyone else get an error trying to run this slide? (ARRAYS & DATA MANIPULATION) on http://scottcheng.github.com/d3js-101/#/data-manipulation

I don't understand whats going on here, what does array[, accessor] and [start, ]stop[, step] mean? I get an error "SyntaxError: Unexpected token ," which I tend to agree with.

Re:D3.js 101 - Technical Intro by scottcheng on Tuesday February 05, 2013 @01:10AM (#5169434)
That's just API spec, not syntactically correct JavaScript... The parameters in [] are optional. I.e. you can pass only one array to d3.max, or pass an array and an accessor. Similar with the range API.
Re:D3.js 101 - Technical Intro by deepuj on Monday February 04, 2013 @11:40AM (#5165072)
The content was good, but the layout of the presentation was stupid.
Re:D3.js 101 - Technical Intro by jjm on Monday February 04, 2013 @10:03PM (#5168774)
I think there can never be enough D3 tuts, added this to my bookmark list. I really enjoy the wide variety of data representations possible with D3.

Wonder what other good tuts are out there?

Re:D3.js 101 - Technical Intro by RaSoJo on Monday February 04, 2013 @10:49AM (#5164682)
Why playground no load for me :( http://scottcheng.github.com/d3js-101/playground/
Re:D3.js 101 - Technical Intro by lancefisher on Monday February 04, 2013 @12:21PM (#5165462)
Yeah, that page is basically a blank slate with d3.js loaded. You should open the js console, and cut/paste code from the presentation. Works great!
Re:D3.js 101 - Technical Intro by brucehubbard on Monday February 04, 2013 @12:36PM (#5165603)
http://tributary.io is a better playground.
Re:D3.js 101 - Technical Intro by mattmanser on Monday February 04, 2013 @10:59AM (#5164744)
I'm guessing you're just meant to use the js console, it's got the script loaded and a prepopulated array in it.
Re:D3.js 101 - Technical Intro by cheshire137 on Monday February 04, 2013 @05:54PM (#5167788)
I expected more than, what, four slides?
Re:D3.js 101 - Technical Intro by AndreasFrom on Monday February 04, 2013 @06:01PM (#5167828)
It's two-dimensional, you can also go down. Press ESC to get an overview and pressing SPC guides you through all the slides (ie. goes down as well).
Re:D3.js 101 - Technical Intro by TallboyOne on Monday February 04, 2013 @01:01PM (#5165775)
Here's more resources for d3.js on my site :)

http://pineapple.io/resources/tagged/d3-js

Re:D3.js 101 - Technical Intro by ytopia on Monday February 04, 2013 @08:26PM (#5168451)
on IE don't work