File:Healthcare expenditures in Japan by Age.svg

原始檔案(SVG 檔案,表面大小:900 × 450 像素,檔案大小:129 KB)


This file may be updated to reflect new information.
If you wish to use a specific version of the file without it being overwritten, please upload the required version as a separate file.

摘要

描述
English: Healthcare expenditures in Japan by Age (MHLW,2020)
日期
來源 自己的作品, Data from MHLW 保険局調査課,
医療保険に関する基礎資料 ~令和2年度の医療費等の状況~ , p52, 53
作者 Yuasan
授權許可
(重用此檔案)
CC-0

授權條款

我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
Creative Commons CC-Zero 此檔案在創用CC CC0 1.0 通用公有領域貢獻宣告之下分發。
在此宣告之下分發本作品者,已依據各國著作權法,在全世界放棄其對本作品所擁有的著作權及所有相關相似的法律權利,從而將本作品貢獻至公有領域。您可以複製、修改、分發和演示該作品,用於任何商業用途,所有這些都不需要請求授權。

graph data

import matplotlib.pyplot as plt
import pandas as pd
import matplotlib.ticker as ticker

df1 = pd.read_csv("data.tsv", index_col=0 , sep = "\t").T.div(1000)
df2 = pd.read_csv("consult.tsv", index_col=0 , sep = "\t")
df2 = df2.reindex(columns=['Total'])

fig, ax = plt.subplots(figsize=(10, 5))
ax2 = ax.twinx()

ax.plot(df2, label="Doctor consult", color="#5E95CD")

for i in range( len(df1) ):
	ax2.bar(df1.columns, df1.iloc[i] ,  bottom=df1.iloc[:i].sum(), label=df1.index[i])

lines, labels = ax.get_legend_handles_labels()
lines2, labels2 = ax2.get_legend_handles_labels()
ax2.legend(lines + lines2, labels + labels2, facecolor="#eeeeee" ,ncol=2, fontsize=11,loc='upper left')

ax.set_ylim([0,20])
ax2.set_ylim([0,1600])
ax2.axvspan(14.5, 20.5, color="#dddddd",zorder=-1)		#BG paint

ax.patch.set_alpha(0)
ax.set_zorder(2)
ax2.set_zorder(1)

plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.subplots_adjust(left=0.07, bottom=0.13, right=0.90, top=0.92)

plt.title("Healthcare expenditure of Japan by Age (MHLW,2020)", fontsize=16)
plt.tick_params(labelsize=10, pad=4)
ax.set_xlabel("Age", size=10)
ax.set_ylabel("Doctor consult per person (count)", size=10)
ax2.set_ylabel("Healthcare expenditure per person (1000 JPY)", size=10)

plt.setp(ax.get_xticklabels(), fontsize=8, rotation=45)
plt.setp(ax.get_yticklabels(), fontsize=9 )

ax2.minorticks_on()
ax.set_axisbelow(True)
ax2.set_axisbelow(True)
ax.grid(False, which='both', axis="both")
ax2.grid(True, which='major',color='#cccccc',linestyle='-', axis="y")
ax2.grid(True, which='minor',color='#eeeeee',linestyle='--', axis="y")

plt.savefig("image.svg")
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

創作作者 Chinese (Hong Kong) (已轉換拼寫)

沒有維基數據項目的某些值

作者姓名字串 繁體中文 (已轉換拼寫):​Yuasan
維基媒體使用者名稱 繁體中文 (已轉換拼寫):​Yuasan

著作權狀態 繁體中文 (已轉換拼寫)

檔案來源 Chinese (Taiwan) (已轉換拼寫)

上傳者的原創作品 繁體中文 (已轉換拼寫)

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸用戶備⁠註
目前2023年6月25日 (日) 17:03於 2023年6月25日 (日) 17:03 版本的縮圖900 × 450(129 KB)Yuasanbg style
2023年6月25日 (日) 16:48於 2023年6月25日 (日) 16:48 版本的縮圖900 × 450(128 KB)Yuasan2020 data
2015年5月6日 (三) 11:06於 2015年5月6日 (三) 11:06 版本的縮圖657 × 405(87 KB)Yuasanfix
2015年4月27日 (一) 08:05於 2015年4月27日 (一) 08:05 版本的縮圖688 × 498(88 KB)YuasanUser created page with UploadWizard

下列頁面有用到此檔案:

全域檔案使用狀況

以下其他 wiki 使用了這個檔案:

詮釋資料