Skip to content

DanielYehezkely/world-population-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Population Web App Icon

Welcome to the World Population Web App! This JavaScript-based application is designed to help users explore population data from around the world. Built on the module design pattern, it provides an intuitive interface for visualizing population statistics by continent, country, and city.

Demo

Features

  • Interactive UI: Click on continent buttons to discover population data for each continent.
  • Population Charts: Dynamic charts display population statistics for countries and cities.
  • Loader: A loader element indicates when data is being fetched from APIs, enhancing user experience.
  • Error Handling: Graceful error messages are displayed to users if API requests fail, ensuring smooth interaction.

Installation

To run the World Population Web App locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/DanielYehezkely/world-population-JS

  2. Navigate to the project directory:

    cd world-population

  3. Open index.html in your web browser.

Usage

  1. Continent Selection: Simply click on a continent button to view population data for countries within that continent.
  2. Country Exploration: After selecting a continent, click on a country button to explore population data for cities within that country.

Built With

  • JavaScript: The core programming language used for the application logic. JavaScript enables dynamic interactions and data manipulation, allowing for real-time population data visualization.
  • HTML: Structure and layout of the web pages. HTML provides the foundation for creating the user interface elements and content structure.
  • CSS: Styling and visual presentation of the user interface. CSS is used to enhance the design and user experience by applying styles to HTML elements.
  • Chart.js: A popular JavaScript library for creating dynamic and interactive charts. Chart.js is utilized to generate visually appealing population charts and graphs, enhancing data visualization capabilities.

Live Demo

View Live Demo At Netlify