initial verion of d3.chart based visualisation, with reusable charts.
oops - minified js missed the commit again - need to fix hooks