An object-oriented API for business analytics powered by D3