File:Labour force Projections for Japan 2024.svg

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

Original file(SVG file, nominally 768 × 480 pixels, file size: 99 KB)

Captions

Captions

Labour force Projections for Japan 2024

Summary

[edit]
Description
English: Labour force Projections for Japan 2024
Date
Source Own work, Data from JLIPT 20240311, e-stat
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
from cycler import cycler
import pandas as pd
import matplotlib.ticker as ticker

df1 = pd.read_csv("data.tsv", index_col=0 ,sep = "\t", dtype="int64")
df2 = pd.read_csv("data2.tsv", index_col=0 ,sep = "\t", dtype="int64")

df = pd.merge(df1, df2, on='year', how='outer')
df["High-growth, High-participate"] = df["High-growth, High-participate"].ffill()
df["Middle-growth, Middle-participate"] = df["Middle-growth, Middle-participate"].ffill()
df["Zero-growth, Same-participate"] = df["Zero-growth, Same-participate"].ffill()

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

plt.subplots_adjust(left=0.09, bottom=0.18, right=0.96, top=0.9)
ax.set_prop_cycle( plt.rcParams['axes.prop_cycle'])
ax.margins(0.02)

ax.plot(df)
ax.fill_between( df.index ,0, df["Observed"].values,  color="lightblue", alpha=0.5)

fig.legend(df.columns, fontsize=9, ncol=2, loc='lower center' ,frameon=True, facecolor="#dddddd")
ax.set_axisbelow(True)

plt.ylim([5000,7000])

plt.title("Labour force Projections for Japan (JLIPT,2024)", fontsize=16)
plt.tick_params(labelsize=9, pad=4)
plt.ylabel("10000 Population", fontsize=8)
plt.xticks(rotation=35, fontsize=7)
plt.yticks(fontsize=9)

ax.xaxis.set_major_locator(ticker.MultipleLocator(3))

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

File history

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

Date/TimeThumbnailDimensionsUserComment
current13:04, 26 July 2024Thumbnail for version as of 13:04, 26 July 2024768 × 480 (99 KB)Yuasan (talk | contribs)JLIPT
12:59, 26 July 2024Thumbnail for version as of 12:59, 26 July 2024768 × 480 (99 KB)Yuasan (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata