Reusable chart templates built with d3.js