Re:A Big List of D3 Examples
by sakai on Monday October 07, 2013 @04:05PM
(#6510832)
Ugh, I clicked a few of the earthquake examples (did a similar viz in the past) and saw that none of them was working.
Then looking at the curl responses one gets, "Due to the Federal government shutdown, usgs.gov and most associated web sites are unavailable. Only web sites necessary to protect lives and property will be maintained."
One can only wish they saw these and similar APIs as important infrastructure that needs to remain functional.
Otherwise -- this is very helpful! Thanks so much for assembling the collection.
Re:A Big List of D3 Examples
by jedbrown on Monday October 07, 2013 @09:43PM
(#6512493)
When I need to make graphics for research talks, I usually turn to TikZ [1] since I currently make talks using latex-beamer. But I'm always impressed when I look at D3.js and I think it would be great to have a more reliable way to add animations, as well as putting interactive content on my website.
Given that LaTeX math is important to me, should I make a serious effort to learn D3.js (and one of the HTML slide deck packages) or stick with LaTeX? Note that figures usually can't be directly reused between talks and papers anyway, but a modest amount of tweaking is usually enough. Using HTML/D3.js instead of latex-beamer for talks would probably make reuse in talks more difficult.
Re:A Big List of D3 Examples
by chairmankaga on Monday October 07, 2013 @10:18PM
(#6512620)
I was able to pick up D3 fairly quickly and I love it. Dashing d3 [1] was a great starting off point, but nothing beats looking through a ton of live examples.
Re:A Big List of D3 Examples
by danso on Monday October 07, 2013 @03:43PM
(#6510683)
It's interesting that some of the NYT visualizations are static graphics that normally, back in the print-only days, been done in Illustrator. Here's a map of Chicago killings done by Mike Bostock et al:
I wonder if making static charts via D3js has some time-savings/production advantages when the dataset is large enough? Before you say "maybe they just wanted vector graphics that worked for high-res"...that's obviously a benefit, but not enough on its own to give the web devs a graphic that could've been done via the traditional means (many of the Times stories include static graphics as PNGs in the sidebar)
Re:A Big List of D3 Examples
by mhw on Monday October 07, 2013 @04:01PM
(#6510796)
I think you're right that there's a quantity of data where using D3.js will start to be more productive than doing it manually in something like Illustrator. It's an instance of a trade off that we're all familiar with: at what point is it worth building a tool instead of doing the task manually? It's also worth bearing in mind that the point where it makes sense to use a tool is reached more quickly with proficiency in the tool - if you have Mike Bostock working for you I imagine most visualisations will be easier to produce with D3.js!
I think the other significant aspect is the speed of iteration. In my experience, producing good visualisations takes lots of iteration and those can take a lot of time if you have to alter each data item by hand. I've often reverted to paper and sketched out a revision that's way a few times before going back to the drawing program. I think it's likely that it's much quicker to iterate using D3.js (in the right hands).
Re:A Big List of D3 Examples
by ejfox on Monday October 07, 2013 @04:02PM
(#6510805)
It's important to factor in the importance of reusability. When someone makes a D3 visualization, it is infinitely reusable and hackable. So next time you want to make a map of killings in Chicago, you have it ready to go, and you just plug in the data, rather than having someone re-make it by hand. When you're a news organization, where speed is obviously of the essence, this investment has to be a no-brainer.
As Bostock's incredible skill is deployed on a variety of visualization problems, the New York Times builds a library of visualizations and templates that they can use for the foreseeable future, as long as the data is in the same format. That is incredibly valuable.
Re:A Big List of D3 Examples
by toomuchtodo on Monday October 07, 2013 @06:05PM
(#6511622)
I work for a web news network startup, and I'm hacking together D3 visualizations specifically because they're reusable. We're based in Chicago, and plan on doing crime segments, and my visualization will take public CPD crime stats, display them (hopefully beautifully), and then encode them with ffmpeg for web video.
Re:A Big List of D3 Examples
by dnprock on Monday October 07, 2013 @05:29PM
(#6511409)
Back in the days, people used to draw graphic by hand. Then, tools like Illustrator help automate the creation of graphic. Vector graphic libraries are going to disrupt the landscape.
It is starting out as artisan tool for programmers to build data visualization. Overtime, we'll have reusable templates/components that speed up the creation process and reduce cost. Christophe's list is awesome. I reference it quite a bit :)
At some point, creating vector graphic will be just as fast as creating static graphic. Plus, much more flexibility.
My team is tinkering with such idea with http://vida.io. Here's a little demo video:
Re:A Big List of D3 Examples
by viggity on Monday October 07, 2013 @03:45PM
(#6510702)
very cool, christophe, thanks for taking the time to compile this list.
The one thing that always astounds me about people who generate dataviz with d3 is that they almost never do anything interactive with it (filter, zoom, etc) and if they do, they won't use any of d3's insanely cool/easy transitions to make the visualization smoothly morph from one state to the next.
Really, if you're going to start messing around with d3, read about Mike Bostock's thoughts on change blindness and object constancy.
Re:A Big List of D3 Examples
by bunkat on Monday October 07, 2013 @03:52PM
(#6510743)
My swimlane chart made the list (http://bl.ocks.org/bunkat/1962173) and it includes panning and zooming functionality as another example. Be warned, it's pretty ugly looking!
Re:A Big List of D3 Examples
by joeblau on Monday October 07, 2013 @11:30PM
(#6512875)
Does anyone know if there is a good D3 example of something like noflo [1]? Most of the graphs D3 has are great for data visualization but not as helpful if you're trying to build a system for interaction between nodes that you don't want bouncing all over the place.
Re:A Big List of D3 Examples
by brucehubbard on Tuesday October 08, 2013 @10:44AM
(#6515292)
Had some traffic to my site from random places in the world (Brazil, Sweden, India) and had no clue where it was coming from until I saw this thread in my twitter feed. Mine is the Facebook Mutual Friends one.
You could also check out my slides from one of my d3 talks (with interactive examples):
Re:A Big List of D3 Examples
by thrownaway2424 on Monday October 07, 2013 @04:44PM
(#6511124)
Timely! I've been searching for "Zoomable Sunburst" but was unable to find it. If it's "a treemap, except it uses a radial layout" why don't they call it a radial treemap, instead of a sunburst?
Anyway, recall problems aside, this gallery is fantastic.
Then looking at the curl responses one gets, "Due to the Federal government shutdown, usgs.gov and most associated web sites are unavailable. Only web sites necessary to protect lives and property will be maintained."
One can only wish they saw these and similar APIs as important infrastructure that needs to remain functional.
Otherwise -- this is very helpful! Thanks so much for assembling the collection.
Given that LaTeX math is important to me, should I make a serious effort to learn D3.js (and one of the HTML slide deck packages) or stick with LaTeX? Note that figures usually can't be directly reused between talks and papers anyway, but a modest amount of tweaking is usually enough. Using HTML/D3.js instead of latex-beamer for talks would probably make reuse in talks more difficult.
[1] http://texample.net/tikz/
[1] https://www.dashingd3js.com/
http://www.nytimes.com/interactive/2013/01/02/us/chicago-kil...
I wonder if making static charts via D3js has some time-savings/production advantages when the dataset is large enough? Before you say "maybe they just wanted vector graphics that worked for high-res"...that's obviously a benefit, but not enough on its own to give the web devs a graphic that could've been done via the traditional means (many of the Times stories include static graphics as PNGs in the sidebar)
I think the other significant aspect is the speed of iteration. In my experience, producing good visualisations takes lots of iteration and those can take a lot of time if you have to alter each data item by hand. I've often reverted to paper and sketched out a revision that's way a few times before going back to the drawing program. I think it's likely that it's much quicker to iterate using D3.js (in the right hands).
As Bostock's incredible skill is deployed on a variety of visualization problems, the New York Times builds a library of visualizations and templates that they can use for the foreseeable future, as long as the data is in the same format. That is incredibly valuable.
It is starting out as artisan tool for programmers to build data visualization. Overtime, we'll have reusable templates/components that speed up the creation process and reduce cost. Christophe's list is awesome. I reference it quite a bit :)
At some point, creating vector graphic will be just as fast as creating static graphic. Plus, much more flexibility.
My team is tinkering with such idea with http://vida.io. Here's a little demo video:
http://www.youtube.com/watch?v=1_LDH1T1D1Y
1723 of them by Mike Bostock! [1]
[1] number is made up but almost certainly close.
The one thing that always astounds me about people who generate dataviz with d3 is that they almost never do anything interactive with it (filter, zoom, etc) and if they do, they won't use any of d3's insanely cool/easy transitions to make the visualization smoothly morph from one state to the next.
Really, if you're going to start messing around with d3, read about Mike Bostock's thoughts on change blindness and object constancy.
http://bost.ocks.org/mike/constancy/
amazing example 1: http://bl.ocks.org/mbostock/1256572
cool example 2: http://bl.ocks.org/mbostock/3808234
[1] - http://noflojs.org/dataflow-noflo/demo/
http://bl.ocks.org/mbostock/582781
You could also check out my slides from one of my d3 talks (with interactive examples):
notacog.com/d3/slideshow
D3 based profile visualization of interests and stages of needs in each field.
More about what it means here: http://www.doerhub.com
Opened link, saw huge list of text links, closed.
You know, it would be cool if the list of d3 examples was itself a cool interface powered by d3.
Anyway, recall problems aside, this gallery is fantastic.