The number of electoral rates given to the state is based on congressional representation.
<u>Explanation:</u>
The president and vice president of the US are elected by the electoral college. Under the electoral college, each state is assigned to a certain number of votes.
Thus by the votes, each state gets a number of electors based on its total number of congress representatives.
The electoral college is the body of electors initiated by the US, and votes are allocated within the states depends on the census.