split d3 helpers into files, add bar support
fixes
Fixes
Improve bars