Better template, now let the d3-ing begin...