This data visualization application allows you to explore and visualize life expectancy data for various countries. It provides several types of visualizations to help you better understand and compare life expectancies, birth rates, and death rates in different regions.
-
Life Expectancy Graph: Visualize the top 5 and bottom 5 male and female life expectancies in a bar chart.
-
Male and Female Life Expectancy Line Graphs: Compare the male and female life expectancies for the top N countries in a line graph.
-
Grouped Bar Charts: Create grouped bar charts to compare life expectancies, birth rates, and death rates for the top N countries, sorted by either male life expectancy, female life expectancy, birth rate, or death rate.
To use this application, you'll need to have Python installed. The application uses the pandas and matplotlib libraries, so make sure to install these dependencies using pip:
pip install pandas matplotlibOnce you have the required dependencies, you can run the application by executing the Python script.
python dataVisualization.pyUpon running the application, you will be presented with a menu to select the type of graph you want to create. The available options include:
- Life Expectancy Graph
- Male Life Expectancy Line Graph
- Female Life Expectancy Line Graph
- Grouped Bar Chart - Male Life Expectancy
- Grouped Bar Chart - Death Rate
- Grouped Bar Chart - Birth Rate
Follow the on-screen instructions to choose the graph type and configure the visualization parameters. The application will generate and display the selected graph for your analysis.
Mantas Stankevicius
For questions or assistance, please contact mantas@mantascodes.com.