Infinite extent for field “<field name>” : [Infinity, -Infinity]

I am using opensearch Dashboard

This is how my data look like when I run my script:

Inspect > View Request > Vega debug > Spec:

Hi @Akshat1001 welcome to the Elasticsearch community.

It sounds like you're using Opensearch. Unfortunately we do not have any expertise on Opensearch, so you'll need to go to their community and ask questions.