for https://github.com/dc-js/dc.js

not complete yet