Nodes by Country - Modern Dashboard

Hi - is there a way nodes can be identified via Country via swql on a modern dashboard

so if a node contains the letter 3 it is UK based etc as per below

3 - UK

5 - Roi

7 - NL

9 - BE

thanks in advance