Heat Map visualization of Azure DevOps Pipeline build

If you want to show the "last 10 builds" for each environment, I think you should not use a heat map. Instead, I think you should go to Discover and save your query 3 times with different filters, then put each table into your dashboard. So you can add three filters: Dev, test, prod and then compare the most recent documents that match those filters.