use colorbrewer.js for colours
include d3.js
more sophisticated number formatting