File:Life expectancy in Japan (IPSS).svg

Original file(SVG file, nominally 900 × 360 pixels, file size: 93 KB)

Captions

Captions

Life expectancy in Japan , data from IPSS
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: Life expectancy in Japan data from IPSS
Date
Source Own work, Data from en:National Institute of Population and Social Security Research
https://www.ipss.go.jp/syoushika/tohkei/Popular/Popular2022.asp?chap=0
Author Yuasan
Permission
(Reusing this file)
CC-0

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.

Graph data

edit
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np

df = pd.read_csv("data.tsv", index_col=0 , sep = "\t")
df = df.fillna(method="ffill")

fig, ax = plt.subplots(figsize=(10, 4))
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']

plt.subplots_adjust(left=0.07, bottom=0.10, right=0.96, top=0.91)

ax.plot(df["Men"], color="#5E95CD")
ax.plot(df["Women"], color="#D676AB")
ax.legend(df.columns, fontsize=14, ncol=2, loc='upper left',  frameon=True, facecolor="#dddddd")
ax.set_axisbelow(True)

plt.title("Life expectancy in Japan (IPSS)", fontsize=18)
plt.tick_params(labelsize=9, pad=4)
plt.ylabel("Age", fontsize=13)
plt.xticks(np.arange(1920, 2065, step=5), fontsize=8, rotation=70)
plt.yticks(fontsize=11)
plt.ylim([40,100])

plt.minorticks_on()
plt.grid(which='major',color='#cccccc',linestyle='-', axis="x")
plt.grid(which='minor', linestyle='None', axis="x")
plt.grid(which='major',color='#cccccc',linestyle='-', axis="y")
plt.grid(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/TimeThumbnailDimensionsUserComment
current12:08, 25 January 2023Thumbnail for version as of 12:08, 25 January 2023900 × 360 (93 KB)Yuasan (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

Metadata