The Electoral College is a set of electors who are selected to elect the president and vice president. The process is described in Article II of the U.S. Constitution. The number of electoral votes a state has equals its number of Senators plus its number of Representatives in the House of Representatives, the latter being dependent on the Census's reported population.
Here is an excellent explanation how it works: How the Electoral College Works
Run the following command to install all the dependencies.
poetry install
This map shows all U.S. states and the number of electors.
poetry run py .\us_map_charts\electors.py
This map shows the northeastern U.S. states and the number of electors.
poetry run py .\us_map_charts\northeastern.py