Blue States = Democratic State/Hillary Won
Teal States = Partial Results
Here is my explanation to how the Electoral College works:
First, you would have to win the majority of the state's votes.
Second, you get the electoral votes from that state. You need 270 electoral votes to be president. There are 539 electoral votes in all. There are some states that are mostly always Democratic or Republican. Also there are states that are swing states that switch to a different party each 4 years.
Here is my explanation of why more states are red, but how Hillary Clinton still won the popular vote:
Hillary won the popular vote by getting more overall votes, but that does not matter. It matters if you win every single state overall in popular votes. The electoral votes are what you need to win the election.
Illinois has traditionally been a Democratic state when it comes to Presidential Elections.
The reason Illinois is a Democratic state usually is because the bigger the city in that state is the more Democratic the state is. The more rural the state is the more Republican the state is. Since Illinois has Chicago in it and Chicago is a big urban then it is mostly going to be Democratic.