Jump to content

File:Dementia Prevalence in OECD.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: 143 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: Prevalence of Dementia in OECD countries.
Date
Source Own work, Data from OECD Health at a glance 2021
https://www.oecd.org/health/health-at-a-glance/
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")

fig, ax = plt.subplots(figsize=(12, 5))
x = np.arange(df.index.size)
ax.bar(x-0.1, df["2021"] , color="#F79646", width=0.5, bottom=0)
ax.bar(x+0.3, df["2050"] , color="#C6A389", width=0.3, bottom=0)

ax.legend(df.columns, fontsize=14, ncol=2, loc='upper left',  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.06, bottom=0.17, right=0.99, top=0.9)

plt.title("Estimated Prevalence of dementia (OECD Health,2021)", fontsize=20)
plt.tick_params(labelsize=10, pad=4)
plt.xticks(x, df.index, rotation=55, size=9)

plt.ylabel("Prevalence per 1000 polulations", size=11)
plt.yticks(fontsize=11)
plt.ylim([0,50])

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")
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

30 June 2014

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:35, 21 February 2023Thumbnail for version as of 08:35, 21 February 20231,080 × 450 (143 KB)Yuasan2021 data
05:17, 30 June 2014Thumbnail for version as of 05:17, 30 June 2014736 × 369 (122 KB)YuasanUser created page with UploadWizard

The following 3 pages use this file:

Global file usage

The following other wikis use this file:

Metadata