Q1 is inhabited by the top 25% of the list's journals; Q2 is occupied by journals ranging from 25% to 50%; Q3 is occupied by journals ranging from 50% to 75%; and Q4 is populated by journals ranging from 75% to 100%.
Take a look: https://www.scimagojr.com/journalrank.php?category=1710