using d3 entity filter instead