manual require d3
implementing grid and overriding styles