The Census and Electoral Vote Allocation

How are Census results related to the number of electoral votes/electors and number of congressional districts?