Monthly Archives: August 2013

Code review for science

A cool experiment from the Mozilla Science Lab: Code Review for Scientists. I look forward to the results.

If anyone wants to do code review of my science, you can comment line-by-line on my github repos.

Comments Off on Code review for science

Filed under software engineering

IHD in GBD-Compare

As I mentioned, disease-specific papers I helped with from the GBD 2010 work are starting to appear, and the GBD-Compare tool tells a story about each one. This one is about heart disease, as described in Forouzanfar et al. Assessing the global burden of ischemic heart disease, part 2: analytic methods and estimates of the global epidemiology of ischemic heart disease in 2010.

Comments Off on IHD in GBD-Compare

Filed under global health

Descriptive Epi Paper Pile

A small pile of disease-specific papers I helped with from the GBD 2010 have started to make their way into the world. Each should have a set of links to an appropriately selected spot in the GBD-Compare tool:

It would be great if the systematic review data from these studies was released as well! At least two groups have actually used the HCV replication dataset in their own research now.

Comments Off on Descriptive Epi Paper Pile

Filed under global health

Force-directed graph with clusters in D3js

Stack Overflow comes through with a cool solution: http://stackoverflow.com/questions/10731008/d3-js-how-to-create-force-directed-graph-clusters

http://bl.ocks.org/donaldh/2918073

http://bl.ocks.org/donaldh/2920551

Thanks!

Comments Off on Force-directed graph with clusters in D3js

Filed under dataviz

Animations and transitions in D3js

Seeing data transition can be amazing, can be distracting. Making it work can be confusing. Here are some hints: http://www.jeromecukier.net/blog/2012/07/16/animations-and-transitions/

Comments Off on Animations and transitions in D3js

Filed under dataviz

Javascript style?

Javascript style guidelines seem less definitive than PEP-8. Is this a good reference: http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#JavaScript_Style_Rules?

Comments Off on Javascript style?

Filed under dataviz

The key to interaction in D3js

The key may be hidden in the API reference for selection.on: https://github.com/mbostock/d3/wiki/Selections#wiki-on

Comments Off on The key to interaction in D3js

Filed under dataviz

Brushing handler, a recent development (?)

Just in time for inclusion in some lucky students project, a way to do brushing interactions: http://bl.ocks.org/mbostock/1667367

Comments Off on Brushing handler, a recent development (?)

Filed under dataviz

D3js axes are going to be hard to teach

I’m worried about this part, it is going to hurt my students. It is very powerful, though, and doing it from scratch would hurt worse: https://github.com/mbostock/d3/wiki/SVG-Axes

Scott Murray’s tutorial goes through the basics at a gentle pace: http://alignedleft.com/tutorials/d3/axes/

Comments Off on D3js axes are going to be hard to teach

Filed under dataviz

Nice colors

And a good example of using colors: http://mbostock.github.io/d3/talk/20111116/#16

Comments Off on Nice colors

Filed under dataviz