File:Public_and_private_health_expenditure_by_country.svg
From Wikipedia, the free encyclopedia
Size of this PNG preview of this SVG file: 800 × 400 pixels. Other resolutions: 320 × 160 pixels | 640 × 320 pixels | 1,024 × 512 pixels | 1,280 × 640 pixels | 2,560 × 1,280 pixels | 1,080 × 540 pixels.
Original file (SVG file, nominally 1,080 × 540 pixels, file size: 193 KB)
This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help. |
This file may be updated to reflect new information. If you wish to use a specific version of the file without new updates being mirrored, please upload the required version as a separate file. |
DescriptionPublic and private health expenditure by country.svg | Health expenditure by type of financing, 2019 (OECD Health) |
Date | |
Source |
Own work, Data from OECD Health https://stats.oecd.org/Index.aspx?DataSetCode=SHA# |
Author | Yuasan |
Permission (Reusing this file) |
CC-0 |
Graph data
import matplotlib as mpl
import numpy as np
from cycler import cycler
import matplotlib.pyplot as plt
import pandas as pd
df = pd.read_csv("data.tsv", index_col=0 , sep = "\t")
df = df.sort_values(by=["Government/compulsory schemes"], ascending=False)
df = df.drop('Government/compulsory schemes', axis=1)
df = df.fillna(0).T
mpl.rcParams['axes.xmargin'] = 0.02
plt.rcParams['axes.prop_cycle'] = cycler(color=['#93CDDD', '#957ccb', '#E69717', '#D83227', '#A3DF6E', '#d7352b', '#ffd924', '#a652c1', '#686d69'])
fig, ax = plt.subplots(figsize=(12, 6))
for i in range( len(df) ):
ax.bar(df.columns, df.iloc[i] , width=0.7, bottom=df.iloc[:i].sum())
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.subplots_adjust(left=0.08, bottom=0.19, right=0.98, top=0.93)
plt.title("Health expenditure by type of financing, 2019 (OECD SOCX)", fontsize=18)
plt.tick_params(labelsize=10, pad=4)
ax.legend(df.index, fontsize=9, loc='center', ncol=5, frameon=True, facecolor="#dddddd",
bbox_to_anchor=(0., -0.28, 1., .102) )
ax.set_axisbelow(True)
plt.xticks(df.columns, rotation=70, size=9)
plt.yticks(fontsize=13)
plt.ylabel("% of Health expenditure", size=13)
plt.ylim([0,100])
ax.minorticks_on()
plt.grid(which='major',color='#999999',linestyle='-', axis="y")
plt.grid(which='minor',color='#cccccc',linestyle='--', axis="y")
plt.savefig("image.svg")
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Items portrayed in this file
depicts
27 January 2014
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:27, 24 March 2023 | 1,080 × 540 (193 KB) | Yuasan | 2019 | |
11:02, 13 July 2021 | 1,440 × 720 (133 KB) | Yuasan | 2017 | ||
08:03, 27 April 2015 | 750 × 477 (133 KB) | Yuasan | fix | ||
07:33, 27 January 2014 | 718 × 499 (65 KB) | Yuasan | User created page with UploadWizard |
File usage
The following pages on the English Wikipedia use this file (pages on other projects are not listed):
Global file usage
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ja.wikipedia.org
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Width | 864pt |
---|---|
Height | 432pt |