d3 fix. used to explode when there was no data