add d3 charts, fixes #792

Removes custom bar-chart javascript and replaces with a d3 chart.

Suggestions welcome on tooltip/mouseover style, what should be labeled (max value?), and anything else that should be improved.