File:OECD pharmaceuticals expenditure.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 1,440 × 720 pixels, file size: 101 KB)

Captions

Captions

Add a one-line explanation of what this file represents
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]
Description
English: Expenditure on pharmaceuticals per capita, 2019 (or nearest)
Date
Source Own work
Author Yuasan, Data from OECD Health stat.
https://www.oecd.org/els/health-systems/health-data.htm
Permission
(Reusing this file)
CC-0

Graph data

[edit]
import matplotlib.pyplot as plt
import pandas as pd

df = pd.read_csv("data.csv", index_col=0)
df = df.fillna(0)

fig, ax = plt.subplots(figsize=(16, 8))
ax.bar(df.index, df["Prescription"] , color="#8EB4E3", width=0.7, bottom=0)
ax.bar(df.index, df["OTC medicines"], color="#C0504D", width=0.7, bottom=df["Prescription"] )
ax.bar(df.index, df["Total(no breakdown)"], color="#9BBB59", width=0.7 , bottom=df["Prescription"]+df["OTC medicines"] )

ax.legend(df.columns, fontsize=20,  loc='upper right')
ax.set_axisbelow(True)

plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.subplots_adjust(left=0.06, bottom=0.15, right=0.96, top=0.9)

plt.title("Expenditure on pharmaceuticals per capita,\n 2019 or nearest (OECD Health Stat)", fontsize=28)
plt.tick_params(labelsize=10, pad=4)
plt.xticks(df.index, rotation=70, size=11)

plt.ylabel("PPD USD", size=15)
plt.ylim([0,1400])
plt.yticks(fontsize=15)
plt.grid(which='major',color='#cccccc',linestyle='-', axis="y")
plt.subplots_adjust(top =0.88)

plt.savefig("image.svg")

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero 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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current10:20, 30 March 2022Thumbnail for version as of 10:20, 30 March 20221,440 × 720 (101 KB)Yuasan (talk | contribs)2019 data
13:27, 27 June 2016Thumbnail for version as of 13:27, 27 June 2016740 × 397 (108 KB)Yuasan (talk | contribs)OECD Health at a glance 2015
07:51, 21 April 2014Thumbnail for version as of 07:51, 21 April 2014632 × 455 (39 KB)Yuasan (talk | contribs)User created page with UploadWizard

The following page uses this file:

File usage on other wikis

Metadata