File:Live birth in Japan, by age of mother.svg

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

Original file(SVG file, nominally 1,440 × 720 pixels, file size: 109 KB)

Captions

Captions

Live birth in Japan, by age of mother
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: Live birth in Japan, by age of mother
Date
Source Own work, data from MHLW Vital status
(人口動態調査; 上巻 出生  第4.6表 母の年齢(5歳階級)別にみた年次別出生数・百分率及び出生率(女性人口千対))
https://www.e-stat.go.jp/stat-search/files?page=1&toukei=00450011
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
import pandas as pd
from cycler import cycler

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

fig, ax = plt.subplots(figsize=(16, 8))
ax.bar(df.index, df["-19"] , width=0.7)
ax.bar(df.index, df["20-24"], width=0.7, bottom=df["-19"] )
ax.bar(df.index, df["25-29"] , width=0.7, bottom=df["-19"] + df["20-24"] )
ax.bar(df.index, df["30-34"],  width=0.7, bottom=df["-19"] + df["20-24"] + df["25-29"] )
ax.bar(df.index, df["35-39"],  width=0.7, bottom=df["-19"] + df["20-24"] + df["25-29"]+ df["30-34"] )
ax.bar(df.index, df["40-44"],  width=0.7, bottom=df["-19"] + df["20-24"] + df["25-29"]+ df["30-34"] +df["35-39"])
ax.bar(df.index, df["45+"],  width=0.7, bottom=df["-19"] + df["20-24"] + df["25-29"]+ df["30-34"] +df["35-39"] + df["40-44"])

ax.legend(df.columns, fontsize=15, ncol=7, loc='center' ,bbox_to_anchor=(0., -0.20, 1., .102) , title="Age of Mother", title_fontsize=15)
ax.set_axisbelow(True)
ax.set_ylim([0,100])

plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']
plt.subplots_adjust(left=0.07, bottom=0.17, right=0.99, top=0.92)

plt.title("Live births in Japan, by Age of Mother (MHLW Vital statistics)", fontsize=22)
plt.tick_params(labelsize=10, pad=4)
plt.ylabel("Percentage", size=18)

plt.xticks(rotation=60,fontsize=11)
plt.yticks(fontsize=15)

plt.minorticks_on()
plt.grid(which='major',color='#999999',linestyle='-', axis="y")
plt.grid(which='minor',color='#cccccc',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
current06:41, 31 December 2022Thumbnail for version as of 06:41, 31 December 20221,440 × 720 (109 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