File:Unemployment rate in OECD.svg

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

Original file (SVG file, nominally 1,080 × 720 pixels, file size: 167 KB)

Captions

Captions

Unemployment rates in OECD contries
This file may be updated to reflect new information.
If you wish to use a specific version of the file without it being overwritten, please upload the required version as a separate file.

Summary

[edit]
Description
English: Unemployment rates in OECD contries, all-age.
Date
Source Own work , Data from OECD Labour Force Statistics doi:10.1787/23083387
https://stats.oecd.org/Index.aspx?DataSetCode=LFS_SEXAGE_I_C
Author Yuasan
Permission
(Reusing this file)
CC-0

Graph data

[edit]
import numpy as np
import matplotlib.pyplot as plt
from cycler import cycler
import pandas as pd

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

fig, ax = plt.subplots(figsize=(12, 8))
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.rcParams["axes.prop_cycle"] = plt.cycler("color", plt.get_cmap("tab20")(np.linspace(0,1,20)))

plt.subplots_adjust(left=0.07, bottom=0.16, right=0.97, top=0.95)

cc = cycler('ls', ['-', '--']) * cycler('lw', range(1, 2))
ax.set_prop_cycle( plt.rcParams['axes.prop_cycle'] * cc)
ax.plot(df)
ax.legend(df.columns, fontsize=9, ncol=10, loc='center' ,bbox_to_anchor=(0, -0.18, 1, 0.102),  frameon=True, facecolor="#eeeeee")
ax.set_axisbelow(True)

plt.ylabel("percentage", fontsize=15)
plt.ylim([0,20])
plt.xlim(-0.5, len(df)-.5) 

plt.title("Unemployment rate, all-age (OECD Labour Force)", fontsize=18)
plt.tick_params(labelsize=9, pad=4)
plt.xticks(rotation=35, fontsize=7)
plt.yticks(fontsize=11)

ax.minorticks_on()
plt.grid(which='major',color='#999999',linestyle='-', axis="y")
plt.grid(which='minor',color='#e3e3e3',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.

Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

File history

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

Date/TimeThumbnailDimensionsUserComment
current14:27, 13 March 2023Thumbnail for version as of 14:27, 13 March 20231,080 × 720 (167 KB)Yuasan (talk | contribs)2021
02:53, 30 December 2021Thumbnail for version as of 02:53, 30 December 20211,080 × 720 (100 KB)Yuasan (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

Metadata