Costa Rica, officially the Republic of Costa Rica, is a country in Central America. It borders Nicaragua to the north, the Caribbean Sea to the northeast, Panama to the southeast, and the Pacific Ocean to the southwest, sharing a maritime border with Ecuador to the south of Cocos Island. It has a population of around five million in a land area of nearly 51,180 km2 (19,760 sq mi); the capital and largest city is San José, home to around 350,000 residents and two million people in the surrounding metropolitan area.
Geography
costa rica
Costa Rica, officially the Republic of Costa Rica, is a country in Central America. It borders Nicaragua to the north, the Caribbean Sea to the northeast, Panama to the southeast, and the Pacific Ocean to the southwest, sharing a maritime border with Ecuador to the south of Cocos Island. It has a population of around five million in a land area of nearly 51,180 km2 (19,760 sq mi); the capital and largest city is San José, home to around 350,000 residents and two million people in the surrounding metropolitan area.

graph TD
A["Costa Rica"] --> B["Location: Central America"]
A --> C["Borders: Nicaragua, Panama"]
A --> D["Coastlines: Caribbean Sea, Pacific Ocean"]
A --> E["Population: ~5 million"]
A --> F["Capital: San José"]
F --> G["Metropolitan Area: ~2 million"]
Republic:A type of government where the people elect their leaders.
maritime:Related to the sea or ocean.
metropolitan area:A large city and its surrounding towns and suburbs.
population:The number of people living in a place.
borders:The lines that separate one area from another.







