Starting to implement D3.js with C3.js