File:Income redistribution in Japan by age.svg

Size of this PNG preview of this SVG file: 800 × 480 pixels. Other resolutions: 320 × 192 pixels | 1,024 × 614 pixels | 1,280 × 768 pixels | 2,560 × 1,536 pixels | 900 × 540 pixels.
Original file (SVG file, nominally 900 × 540 pixels, file size: 96 KB)
![]() | This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help. |
![]() |
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
DescriptionIncome redistribution in Japan by age.svg |
English: Income redistribution in Japan by age |
Date | |
Source |
Own work, Data from MHLW Income redistribution survey, 2023 https://www.e-stat.go.jp/stat-search/files?page=1&toukei=00450422&tstat=000001024668 |
Author | Yuasan |
Permission (Reusing this file) |
CC-0 |
Licensing
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
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
fig, ax = plt.subplots(figsize=(10, 6))
ax2 = ax.twinx()
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans']
plt.subplots_adjust(left=0.10, bottom=0.18, right=0.99, top=0.90)
ax.bar(df.index, df['Tax']* -1, color="#9467bd", label="Tax")
ax.bar(df.index, df['Social Insurance'] *-1 , color="#e377c2", bottom=df['Tax']*-1, label="Social Insurance")
ax.bar(df.index, df['Cash Benefits'], color="#2ca02c", label="Cash Benefits")
ax.bar(df.index, df['Service Benefits'], color="#98DF8A", label="Service Benefits", bottom=df['Cash Benefits'] )
ax.axhspan(-250,0, color="lightblue", alpha=0.4 , zorder=-10)
ax.set_ylim([-250,800])
ax.set_axisbelow(True)
ax.set_xlabel("Householder Age", fontsize=12)
ax.set_ylabel("Income,Tax and Transfers (10,000 JPY)", fontsize=14)
ax.margins(0.05)
ax2.set_prop_cycle( plt.rcParams['axes.prop_cycle'] )
ax2.plot(df["Raw Income"], lw=3, label="Raw Income", ls="--")
ax2.plot(df["Redistributed Income"], lw=3, label="Redistributed Income")
ax2.set_ylim([-250,800])
ax2.set_yticklabels([])
ax2.set_yticks([])
ax2.margins(0.05)
lines, labels = ax.get_legend_handles_labels()
lines2, labels2 = ax2.get_legend_handles_labels()
fig.legend(lines + lines2, labels + labels2, facecolor="#eeeeee" ,
ncol=6, fontsize=10,loc='lower center')
plt.title("Income redistribution in Japan by age \n(MHLW Income redistribution survey, 2023)", fontsize=15)
plt.tick_params(labelsize=9, pad=4)
plt.grid(which='major',color='#cccccc',linestyle='-', axis="y")
plt.setp(ax.get_xticklabels(), fontsize=11, rotation=30)
plt.setp(ax.get_yticklabels(), fontsize=10 )
ax.minorticks_on()
ax.yaxis.set_major_locator(ticker.MultipleLocator(100))
ax.grid(False, which='minor', axis="x")
ax.grid(True, which='major',color='#cccccc',linestyle='-', axis="y")
ax.grid(True, 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
Income redistribution in Japan by age
Items portrayed in this file
depicts
9 August 2023
image/svg+xml
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:55, 28 September 2023 | ![]() | 900 × 540 (96 KB) | wikimediacommons>Yuasan | 2023 data |
File usage
The following page uses this file:
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Width | 720pt |
---|---|
Height | 432pt |