Proof of concept of d3 reusable charts