use pivot.js index.html example to build chart layout

first step, so will require lots of changes to spec it out