WIP switching data sources for metrics tab

Switched data source for get_d3 methods to data API client and added mocks for client to corresponding test cases

Fixed pylint violations

Cleaned up comments and resolved final pylint violations

Corrected minor whitespace issue