Jump to content

File:Live births and deaths of Japan.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 1,080 × 450 pixels, file size: 145 KB)

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

Description
English: Live births and deaths of Japan
Date
Source Own work , Data from MHLW Vital statistics
e-stat,e-stat
Author Yuasan
Permission
(Reusing this file)
CC-0

Licensing

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

import matplotlib.pyplot as plt
import pandas as pd
import numpy as np

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

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

plt.subplots_adjust(left=0.07, bottom=0.10, right=0.96, top=0.91)

ax.plot(df["Birth"].div(1000) , color="#D676AB")
ax.plot(df["Death"].div(1000) , color="#5E95CD")
ax.legend(df.columns, fontsize=14, ncol=2, loc='upper right',  frameon=True, facecolor="#dddddd")
ax.set_axisbelow(True)

plt.title("Live births and deaths of Japan (MHLW Vital statistics)", fontsize=18)
plt.tick_params(labelsize=9, pad=4)
plt.ylabel("1000 person", fontsize=13)
plt.xticks(np.arange(1900, 2021, step=2), fontsize=8, rotation=70)
plt.yticks(fontsize=11)
plt.ylim([0,3000])

plt.minorticks_on()
plt.grid(which='major',color='#cccccc',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")
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

Captions

Live births and deaths of Japan

Items portrayed in this file

depicts

4 January 2023

148,299 byte

450 pixel

1,080 pixel

image/svg+xml

35a8104e22299e44aab1aaeb738dda2c038954d5

File history

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

Date/TimeThumbnailDimensionsUserComment
current13:46, 5 January 2023Thumbnail for version as of 13:46, 5 January 20231,080 × 450 (145 KB)YuasanUploaded own work with UploadWizard

The following 2 pages use this file:

Global file usage

Metadata