d3 can't be imported as a AMD module. use global approach, again.
inject dhis object instance into adapters and serializers