File:Productivity - GDP per hour worked in OECD.svg

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

Original file(SVG file, nominally 1,080 × 540 pixels, file size: 113 KB)

Captions

Captions

Productivity , GDP per hour worked in OECD countries (PPPUSD)
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: Productivity , GDP per hour worked in OECD countries (percentage; USA=100)
Date
Source Own work
Author Yuasan , Data from OECD stat.
https://stats.oecd.org/Index.aspx?DataSetCode=PDB_LV
Permission
(Reusing this file)
CC-0

Graph data

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

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

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

plt.subplots_adjust(left=0.07, bottom=0.16, right=0.96, top=0.93)

cc = cycler('ls', ['-', '--']) * cycler('lw', range(1, 3) )
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.19, 1, .102) ,facecolor="#eeeeee")
ax.set_axisbelow(True)
ax.axhspan(0,100, color="lightblue", alpha=0.5 , zorder=-10)	
ax.xaxis.set_major_locator(ticker.MultipleLocator(2))
ax.yaxis.set_major_locator(ticker.MultipleLocator(10))
ax.margins(0.01)

plt.ylabel("percentage, USA=100", fontsize=12)
plt.ylim([40,150])

plt.title("Productivity, GDP per hour worked (OECD stats)", fontsize=16)
plt.tick_params(labelsize=9, pad=4)
plt.xticks(rotation=35, fontsize=7)
plt.yticks(fontsize=10)

plt.grid(which='major',color='#eeeeee',linestyle='--', axis="x")
plt.grid(which='major',color='#cccccc',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
current13:15, 20 July 2023Thumbnail for version as of 13:15, 20 July 20231,080 × 540 (113 KB)Yuasan (talk | contribs)2022
05:40, 24 December 2022Thumbnail for version as of 05:40, 24 December 20221,080 × 540 (116 KB)Yuasan (talk | contribs)2021
03:34, 14 August 2021Thumbnail for version as of 03:34, 14 August 20211,080 × 720 (151 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