Giter VIP home page Giter VIP logo

reveal's Introduction

Reveal

Reveal is a function which visually displays the relation between economic growth (gdpPercapita) and life expectancy(lifeExp) of specific continents and country groups

Installation

Use pandas and matplotlib

Usage

import pandas as pd
import matplotlib.pyplot as plt

plt.plot # Line Plot
plt.boxplot # box plot
plt.subplots # Sub Plot

Limitation

Reveal is still under construction. More features will be presented in the near feature.

Observation

FG.1 Sub plot

(1)In Asia, we can observe that life expectancy expoentially increases with the growth of GDP.

(2)In Americas and Europe, life expectancy expoentially increeases with the growth of GDP anf then begin to linearly grow up.

(3)But in Africa, even GDP per capita is in the same level, there are big differences between life expectancies.

FG.2 Box plot

(1)Accoring to box plot, GDP per capita is extremely low and almost all people living in such poverty condition at Africa countries.

(2)Further observations might be displayed by looking more detail at the below three charts.

FG.3 Line plot for high income countries

(1)Life expectancy linearly increases with the growth of GDP.

FG.4 Line plot for middle income countries

(1)Life expectancy expoentially increases with the growth of GDP.

FG.5 Line plot for low income countries

(1)life expectancy does not relevant when GDP grows, which implies there are more essential factor effect human's lives in these areas.

Source of data

https://www.gapminder.org/

Contributing

Note that the kit is still under construction. Pull requests are welcome. For major changes, please contact me via the mail [email protected].

reveal's People

Contributors

fu-chang-kai avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.