File:Healthcare expenditures in Japan by Age.svg
Original file (SVG file, nominally 900 × 450 pixels, file size: 129 KB)
Captions
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. |
Summary
[edit]DescriptionHealthcare expenditures in Japan by Age.svg |
English: Healthcare expenditures in Japan by Age (MHLW,2020) |
Date | |
Source |
Own work, Data from MHLW 保険局調査課, 医療保険に関する基礎資料 ~令和2年度の医療費等の状況~ , p52, 53 |
Author | Yuasan |
Permission (Reusing this file) |
CC-0 |
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 |
graph data
[edit]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")
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:03, 25 June 2023 | 900 × 450 (129 KB) | Yuasan (talk | contribs) | bg style | |
16:48, 25 June 2023 | 900 × 450 (128 KB) | Yuasan (talk | contribs) | 2020 data | ||
11:06, 6 May 2015 | 657 × 405 (87 KB) | Yuasan (talk | contribs) | fix | ||
08:05, 27 April 2015 | 688 × 498 (88 KB) | Yuasan (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 3 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on ha.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on zh.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 | 720pt |
---|---|
Height | 360pt |