ファイル:Population Trends in Japan, by Age.svg

ページのコンテンツが他言語でサポートされていません。

元のファイル(SVG ファイル、900 × 450 ピクセル、ファイルサイズ: 119キロバイト)

このファイルは、最新の情報を受けて更新される可能性があります。
新しい更新が反映されることなく、特定の版のファイルを使用したい場合は、必要な版を別のファイルとしてアップロードしてください。

概要

解説
English: Population Trends in Japan, by Age
日付
原典 投稿者自身による著作物, Data from IPSS Population statistics
https://www.ipss.go.jp/syoushika/tohkei/Popular/Popular2022.asp?chap=0
作者 Yuasan
許可
(ファイルの再利用)
CC-0

ライセンス

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

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

graph data

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

df = pd.read_csv("data.tsv", index_col=0 , sep = "\t")
df1 = df.drop('Total', axis=1)
df2 = df.T.loc['Total']

fig, ax = plt.subplots(figsize=(10, 5))
ax.bar(df.index, df["0-19"] , width=1.7)
ax.bar(df.index, df["20-64"], width=1.7, bottom=df["0-19"] )
ax.bar(df.index, df["65-74"] , width=1.7, bottom=df["0-19"] + df["20-64"] )
ax.bar(df.index, df["75+"] , width=1.7, bottom=df["0-19"] + df["20-64"]+ df["65-74"] )

ax2 = ax.twinx()
ax2.plot(df2, label="Total", color="#5c1a86")

ax.legend(df1.columns, fontsize=12, ncol=4, loc='upper right',  frameon=True, facecolor="#dddddd")
ax.set_ylim([0,150000])
ax2.set_ylim([0,150000])

plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.subplots_adjust(left=0.09, bottom=0.12, right=0.98, top=0.91)

plt.title("Population Trends in Japan, by Age (IPSS Population statistics)", fontsize=15)
plt.tick_params(labelsize=10, pad=4)
ax.set_xlabel("Historic and Projected", size=10)
ax.set_ylabel("1000 Population", size=12)

plt.setp(ax.get_xticklabels(), fontsize=8, rotation=75)
plt.setp(ax.get_yticklabels(), fontsize=9 )
ax.xaxis.set_major_locator(ticker.MultipleLocator(5))
ax.yaxis.set_major_locator(ticker.MultipleLocator(20000))

ax2.set_yticklabels([])
ax2.set_yticks([])

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

plt.savefig("image.svg")

キャプション

このファイルの内容を1行で記述してください
Population Trends in Japan, by Age

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

題材

9 1 2023

ファイルの履歴

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

日付と時刻サムネイル寸法利用者コメント
現在の版2023年1月14日 (土) 13:172023年1月14日 (土) 13:17時点における版のサムネイル900 × 450 (119キロバイト)Yuasanstretch
2023年1月9日 (月) 04:382023年1月9日 (月) 04:38時点における版のサムネイル1,080 × 450 (117キロバイト)YuasanUploaded own work with UploadWizard

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

グローバルなファイル使用状況

以下に挙げる他のウィキがこの画像を使っています:

メタデータ