Make nestedExtent match other usages
Make nestedExtent match other usages

With this change we can probably move this function to
lightning-client-utils and use in a couple places

lightning-viz/lightning-default-visualizations,lightning-viz/lightning-default-visualizations