File:Crude marriage rate in OECD.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 800 × 286 pixels. Other resolutions: 320 × 114 pixels | 640 × 229 pixels | 1,024 × 366 pixels | 1,280 × 457 pixels | 2,560 × 914 pixels | 1,260 × 450 pixels.
Original file (SVG file, nominally 1,260 × 450 pixels, file size: 157 KB)
File information
Structured data
Captions
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]
DescriptionCrude marriage rate in OECD.svg |
English: Crude marriage rate in OECD.svg |
Date | |
Source |
Own work, Data from OECD Family Database https://www.oecd.org/els/family/database.htm |
Author | Yuasan |
Permission (Reusing this file) |
CC-0 |
Licensing[edit]
I, the copyright holder of this work, hereby publish it under the following license:
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.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Graph data[edit]
import matplotlib as mpl
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
df = pd.read_csv("data.tsv", index_col=0 , sep = "\t")
fig, ax = plt.subplots(figsize=(14, 5))
x = np.arange(df.index.size)
cmap = mpl.colormaps['tab20c']
ax.bar(x-0.3, df["1970"] , color=cmap(3), width=0.2, bottom=0)
ax.bar(x-0.1, df["1995"] , color=cmap(2), width=0.2, bottom=0)
ax.bar(x+0.1, df["2019"] , color=cmap(1), width=0.2, bottom=0)
ax.bar(x+0.3, df["2020"] , color=cmap(0), width=0.2, bottom=0)
ax.legend(df.columns, fontsize=12, ncol=4, loc='upper right', frameon=True, facecolor="#dddddd")
ax.set_axisbelow(True)
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.subplots_adjust(left=0.05, bottom=0.17, right=0.99, top=0.9)
plt.title("Crude marriage rate (OECD Family Database)", fontsize=20)
plt.tick_params(labelsize=10, pad=4)
plt.xticks(x, df.index, rotation=80, size=8)
plt.ylabel("Marriages per 1000 population", size=11)
plt.yticks(fontsize=11)
ax.minorticks_on()
plt.grid(which='major',color='#999999',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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:37, 6 January 2023 | 1,260 × 450 (157 KB) | Yuasan (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 1008pt |
---|---|
Height | 360pt |