ファイル:Civil servant persons in Japan Timeline.svg

元のファイル(SVG ファイル、960 × 480 ピクセル、ファイルサイズ: 65キロバイト)

概要

解説
日本語: 日本の一般職国家公務員の在職者・離職者数の推移(単位:人)
日付
原典

投稿者自身による著作物, Data from National Personnel Authority Whitepaper (2023)

https://www.jinji.go.jp/kouho_houdo/koumuinhakusyo/hakusho/pdf.html
作者 Yuasan
許可
(ファイルの再利用)
CC-0

ライセンス

この作品の著作権者である私は、この作品を以下のライセンスで提供します。
Creative Commons CC-Zero このファイルはクリエイティブ・コモンズ CC0 1.0 全世界 パブリック・ドメイン提供のもとで利用可能にされています。
ある作品に本コモンズ証を関連づけた者は、その作品について世界全地域において著作権法上認められる、その者が持つすべての権利(その作品に関する権利や隣接する権利を含む。)を、法令上認められる最大限の範囲で放棄して、パブリック・ドメインに提供しています。

この作品は、たとえ営利目的であっても、許可を得ずに複製、改変・翻案、配布、上演・演奏することが出来ます。

graph data

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")

df1 = df.T.loc['Retired']		# line
df2 = df.T.loc['Officers']	# bar

fig, ax = plt.subplots(figsize=(10,5))
ax2 = ax.twinx()
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.subplots_adjust(left=0.09, bottom=0.13, right=0.92, top=0.85)
plt.setp(ax.get_xticklabels(), fontsize=7)
plt.setp(ax.get_yticklabels(), fontsize=8)

ax.bar(df2.index, df2, color="#8EB4E3", width=0.6, label="Person")
ax.set_axisbelow(True)
ax.tick_params(axis='x', labelrotation=50)

ax.set_ylabel("Person", size=10)
ax.xaxis.set_major_locator(ticker.MultipleLocator(4))
ax.set_ylim([0,950000])
ax2.set_ylim([0,950000])
ax.yaxis.set_major_locator(ticker.MultipleLocator(100000))

ax2.plot(df1, label="Retired", color="#C0504D")
ax2.set_yticklabels([])
ax2.set_yticks([])

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

plt.title("Civil servant persons for the general public service in Japan\n (National Personnel Authority)", fontsize=14)

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

plt.savefig("image.svg")

キャプション

日本の一般職国家公務員の在職者・離職者数の推移

このファイルに描写されている項目

題材

11 6 2024

ファイルの履歴

過去の版のファイルを表示するには、その版の日時をクリックしてください。

日付と時刻サムネイル寸法利用者コメント
現在の版2024年6月11日 (火) 13:392024年6月11日 (火) 13:39時点における版のサムネイル960 × 480 (65キロバイト)YuasanUploaded own work with UploadWizard

以下の​ 4 ページがこのファイルを使用しています:

メタデータ