Archivo:UK abortion by gestational age 2019 histogram.svg

Ver la imagen en su resolución original((Imagen SVG, nominalmente 405 × 338 pixels, tamaño de archivo: 54 kB))

Resumen

Descripción
English: Histogram of abortions by gestational age for England and Wales in 2019. Horizontal axis is weeks and vertical axis is thousands of abortions per week.

Data is taken from https://www.gov.uk/government/statistics/abortion-statistics-for-england-and-wales-2019 https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/915150/abortion-statistics-2019-data-tables.ods

Table 5: Legal abortions: gestation (weeks) by purchaser and method of abortion, residents of England and Wales, 2019
Fecha
Fuente Trabajo propioEste archivo deriva de: US abortion by gestational age 2016 histogram.svg
Autor Omegatron
Otras versiones
SVG desarrollo
InfoField
 
El código fuente de esta imagen SVG es válido.
 
Este gráfico vectorial fue creado con Matplotlib
Código fuente
InfoField

Python code

Source code
"""
From:
https://www.gov.uk/government/statistics/abortion-statistics-for-england-and-wales-2019
https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/915150/abortion-statistics-2019-data-tables.ods
Table 5: Legal abortions: gestation (weeks) by purchaser and method of
abortion, residents of England and Wales, 2019
"""
import numpy as np
import matplotlib.pyplot as plt

table = np.array([[3,  4,   2207],
                  [5,  5,  28556],
                  [6,  6,  56246],
                  [7,  7,  39409],
                  [8,  8,  28618],
                  [9,  9,  16025],
                  [10, 10,  7448],
                  [11, 11,  6456],
                  [12, 12,  5161],
                  [13, 13,  4442],
                  [14, 14,  2290],
                  [15, 15,  2247],
                  [16, 16,  1578],
                  [17, 17,  1526],
                  [18, 18,   993],
                  [19, 19,   859],
                  [20, 20,   772],
                  [21, 21,   834],
                  [22, 22,   754],
                  [23, 23,   684],
                  [24, 24,    68],
                  [25, 25,    42],
                  [26, 27,    52],
                  [28, 31,    72],
                  [32, 40,    45]])

freqs = table[:, 2]
freqs = freqs / 1000
bins = np.concatenate((table[0:1, 0], table[:, 1]))
assert len(bins) == len(freqs) + 1

widths = bins[1:] - bins[:-1]

heights = freqs/widths
heights = freqs.astype(np.float)/widths

fig, ax = plt.subplots(figsize=(4.5, 3.8))

ax.bar(bins[:-1], heights, width=widths, align='edge',
       facecolor='#B2BFD9', edgecolor='#778BB2', zorder=2)

"""
Draw to match
https://en.wikipedia.org/wiki/File:Abortionmethods.png
"""
kwargs = {'xycoords': ('data', 'axes fraction'),
          'horizontalalignment': 'center',
          'verticalalignment': 'center'}
ax.axvspan(0, 12, color='#ACE07B')
ax.annotate('1st trimester\n(0-12 weeks)', (6, 0.93), **kwargs)
ax.axvspan(12, 28, color='#D8E370')
ax.annotate('2nd trimester\n(13-28 weeks)', (20, 0.93), **kwargs)
ax.axvspan(28, 40, color='#E1BA72')
ax.annotate('3rd trimester\n(29-40 weeks)', (34, 0.93), **kwargs)
ax.axvline(12, c='gray', lw=0.2, zorder=1)
ax.axvline(28, c='gray', lw=0.2, zorder=1)

ax.set_xlim(0, 40)
ax.set_ylim(0, 65)
ax.set_xlabel('Gestational age [weeks]')
ax.set_ylabel('Abortions (×1000)')
ax.minorticks_on()

plt.tight_layout()
plt.show()

Licencia

Yo, el titular de los derechos de autor de esta obra, la publico en los términos de la siguiente licencia:
w:es:Creative Commons
atribución compartir igual
Este archivo está disponible bajo la licencia Creative Commons Attribution-Share Alike 4.0 International.
Eres libre:
  • de compartir – de copiar, distribuir y transmitir el trabajo
  • de remezclar – de adaptar el trabajo
Bajo las siguientes condiciones:
  • atribución – Debes otorgar el crédito correspondiente, proporcionar un enlace a la licencia e indicar si realizaste algún cambio. Puedes hacerlo de cualquier manera razonable pero no de manera que sugiera que el licenciante te respalda a ti o al uso que hagas del trabajo.
  • compartir igual – En caso de mezclar, transformar o modificar este trabajo, deberás distribuir el trabajo resultante bajo la misma licencia o una compatible como el original.

Leyendas

Añade una explicación corta acerca de lo que representa este archivo

Elementos representados en este archivo

representa a

Historial del archivo

Haz clic sobre una fecha y hora para ver el archivo tal como apareció en ese momento.

Fecha y horaMiniaturaDimensionesUsuarioComentario
actual06:14 13 oct 2020Miniatura de la versión del 06:14 13 oct 2020405 × 338 (54 kB)OmegatronUploaded own work with UploadWizard

La siguiente página usa este archivo:

Uso global del archivo

Las wikis siguientes utilizan este archivo:

Metadatos