File:Labour force participation rate in Japan.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 720 × 360 pixels, file size: 96 KB)

Captions

Captions

Labour force participation rate in Japan
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: Labour force participation rate in Japan
Date
Source Own work, Data from OECD LFS
https://stats.oecd.org/Index.aspx?DataSetCode=LFS_D#
Author Yuasan
Permission
(Reusing this file)
CC-0

Graph data[edit]

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

df_lfs = pd.read_csv("lfs.tsv", index_col=0 , sep = "\t").T
df_pop = pd.read_csv("pop.tsv", index_col=0 , sep = "\t").T
df =  pd.DataFrame()

for i in df_pop.columns:
    df[i] = df_lfs[i].div(df_pop[i]) * 100


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

plt.subplots_adjust(left=0.10, bottom=0.08, right=0.96, top=0.90)

ax.set_prop_cycle( plt.rcParams['axes.prop_cycle'] )
ax.plot(df)
ax.fill_between( df.index ,0, df["All persons"].values,  color="lightgreen", alpha=0.2)

ax.legend(df.columns, fontsize=10, ncol=8, loc='upper left',  frameon=True, facecolor="#dddddd")
ax.set_axisbelow(True)
ax.xaxis.set_major_locator(ticker.MultipleLocator(2))
ax.yaxis.set_major_locator(ticker.MultipleLocator(10))
ax.margins(0.01)

plt.title("Labour force participation rate in Japan (OECD Labour Force Statistics)", fontsize=14)
plt.tick_params(labelsize=9, pad=4)
plt.ylabel("percentage of 15-64 age", fontsize=12)
plt.xticks(rotation=35, fontsize=8)
plt.yticks(fontsize=9)
plt.ylim([40,100])

plt.minorticks_on()
plt.grid(which='major',color='#eeeeee',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")

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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:00, 19 July 2023Thumbnail for version as of 16:00, 19 July 2023720 × 360 (96 KB)Yuasan (talk | contribs)2022
16:27, 27 December 2022Thumbnail for version as of 16:27, 27 December 20221,080 × 450 (154 KB)Yuasan (talk | contribs)stretch
02:02, 23 April 2022Thumbnail for version as of 02:02, 23 April 20221,080 × 720 (85 KB)Yuasan (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

Metadata