simple deom of using a d3 reusable chart with derby