File:Health spending percent of GDP in G20 countries.svg
Original file (SVG file, nominally 1,080 × 720 pixels, file size: 178 KB)
Captions
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. |
Summary
[edit]DescriptionHealth spending percent of GDP in G20 countries.svg | Health spending , as percent of GDP in OECD |
Date | |
Source |
Own work, Data from OECD Health Statistics http://www.oecd.org/els/health-systems/health-data.htm |
Author | Yuasan |
Permission (Reusing this file) |
CC-0 |
graph data
[edit]import numpy as np
import matplotlib.pyplot as plt
from cycler import cycler
import pandas as pd
import matplotlib.ticker as ticker
df = pd.read_csv("data.tsv", index_col=0 , sep = "\t")
df = df.T
fig, ax = plt.subplots(figsize=(12, 8))
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.rcParams["axes.prop_cycle"] = plt.cycler("color", plt.get_cmap("tab20")(np.linspace(0,1,20)))
plt.subplots_adjust(left=0.06, bottom=0.16, right=0.98, top=0.95)
cc = cycler('ls', ['-', '--', ':'])
ax.set_prop_cycle( plt.rcParams['axes.prop_cycle'] * cc)
ax.plot(df, linewidth=1.8)
ax.legend(df.columns, fontsize=9, ncol=10, loc='center' ,bbox_to_anchor=(0, -0.18, 1, 0.102), frameon=True, facecolor="#eeeeee")
ax.set_axisbelow(True)
plt.ylabel("percentage of GDP", fontsize=12)
plt.ylim([2,14])
plt.xlim(-0.5, len(df)-.5)
plt.title("Health expenditure, as share of GDP (OECD Health Statistics)", fontsize=16)
plt.tick_params(labelsize=9, pad=4)
plt.xticks(rotation=35, fontsize=7)
plt.yticks(fontsize=11)
ax.minorticks_on()
#ax.xaxis.set_major_locator(ticker.MultipleLocator(2))
plt.grid(which='major',color='#fafafa',linestyle='-', axis="x")
plt.grid(which='major',color='#999999',linestyle='-', axis="y")
plt.grid(which='minor',color='#eeeeee',linestyle='--', axis="y")
plt.savefig("image.svg")
Licensing
[edit]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 |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:04, 28 June 2023 | 1,080 × 720 (178 KB) | Yuasan (talk | contribs) | 2020 data | |
12:21, 26 June 2020 | 1,080 × 720 (84 KB) | Yuasan (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on cs.wikipedia.org
- Usage on ja.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 864pt |
---|---|
Height | 576pt |