Chart description: In 1818 the population of Bosnia and Herzegovina was around 900000, there is an upward trend which increases more quickly, reaching a peak of around 4500000 in around 1990. By 2020 population had fallen to around 3300000.

Chart data: Year Population in thousands Dec 31, 1817 852 Dec 31, 1818 853 Dec 31, 1819 855 Dec 31, 1820 858 Dec 31, 1821 862 Dec 31, 1822 868 Dec 31, 1823 873 Dec 31, 1824 878 Dec 31, 1825 884 Dec 31, 1826 889 Dec 31, 1827 895 Dec 31, 1828 900 Dec 31, 1829 906 Dec 31, 1830 911 Dec 31, 1831 917 Dec 31, 1832 923 Dec 31, 1833 928 Dec 31, 1834 934 Dec 31, 1835 940 Dec 31, 1836 946 Dec 31, 1837 951 Dec 31, 1838 957 Dec 31, 1839 963 Dec 31, 1840 969 Dec 31, 1841 975 Dec 31, 1842 981 Dec 31, 1843 987 Dec 31, 1844 993 Dec 31, 1845 999 Dec 31, 1846 1010 Dec 31, 1847 1010 Dec 31, 1848 1020 Dec 31, 1849 1020 Dec 31, 1850 1030 Dec 31, 1851 1040 Dec 31, 1852 1040 Dec 31, 1853 1050 Dec 31, 1854 1060 Dec 31, 1855 1060 Dec 31, 1856 1070 Dec 31, 1857 1070 Dec 31, 1858 1080 Dec 31, 1859 1090 Dec 31, 1860 1090 Dec 31, 1861 1100 Dec 31, 1862 1110 Dec 31, 1863 1110 Dec 31, 1864 1120 Dec 31, 1865 1130 Dec 31, 1866 1130 Dec 31, 1867 1140 Dec 31, 1868 1150 Dec 31, 1869 1160 Dec 31, 1870 1180 Dec 31, 1871 1190 Dec 31, 1872 1210 Dec 31, 1873 1230 Dec 31, 1874 1250 Dec 31, 1875 1270 Dec 31, 1876 1290 Dec 31, 1877 1310 Dec 31, 1878 1330 Dec 31, 1879 1350 Dec 31, 1880 1370 Dec 31, 1881 1390 Dec 31, 1882 1410 Dec 31, 1883 1430 Dec 31, 1884 1450 Dec 31, 1885 1480 Dec 31, 1886 1500 Dec 31, 1887 1520 Dec 31, 1888 1540 Dec 31, 1889 1560 Dec 31, 1890 1580 Dec 31, 1891 1600 Dec 31, 1892 1620 Dec 31, 1893 1630 Dec 31, 1894 1650 Dec 31, 1895 1670 Dec 31, 1896 1690 Dec 31, 1897 1710 Dec 31, 1898 1730 Dec 31, 1899 1750 Dec 31, 1900 1770 Dec 31, 1901 1790 Dec 31, 1902 1810 Dec 31, 1903 1830 Dec 31, 1904 1850 Dec 31, 1905 1870 Dec 31, 1906 1890 Dec 31, 1907 1910 Dec 31, 1908 1930 Dec 31, 1909 1950 Dec 31, 1910 1970 Dec 31, 1911 1990 Dec 31, 1912 2000 Dec 31, 1913 2020 Dec 31, 1914 2030 Dec 31, 1915 2050 Dec 31, 1916 2060 Dec 31, 1917 2080 Dec 31, 1918 2090 Dec 31, 1919 2110 Dec 31, 1920 2130 Dec 31, 1921 2140 Dec 31, 1922 2160 Dec 31, 1923 2170 Dec 31, 1924 2190 Dec 31, 1925 2210 Dec 31, 1926 2220 Dec 31, 1927 2240 Dec 31, 1928 2260 Dec 31, 1929 2270 Dec 31, 1930 2290 Dec 31, 1931 2310 Dec 31, 1932 2330 Dec 31, 1933 2340 Dec 31, 1934 2360 Dec 31, 1935 2380 Dec 31, 1936 2400 Dec 31, 1937 2410 Dec 31, 1938 2430 Dec 31, 1939 2450 Dec 31, 1940 2470 Dec 31, 1941 2490 Dec 31, 1942 2510 Dec 31, 1943 2530 Dec 31, 1944 2540 Dec 31, 1945 2560 Dec 31, 1946 2580 Dec 31, 1947 2600 Dec 31, 1948 2630 Dec 31, 1949 2661.3 Dec 31, 1950 2710.65 Dec 31, 1951 2764.71 Dec 31, 1952 2821.31 Dec 31, 1953 2878.84 Dec 31, 1954 2936.3 Dec 31, 1955 2993.28 Dec 31, 1956 3049.93 Dec 31, 1957 3106.9 Dec 31, 1958 3165.19 Dec 31, 1959 3225.66 Dec 31, 1960 3288.6 Dec 31, 1961 3353.23 Dec 31, 1962 3417.57 Dec 31, 1963 3479 Dec 31, 1964 3535.63 Dec 31, 1965 3586.63 Dec 31, 1966 3632.68 Dec 31, 1967 3675.45 Dec 31, 1968 3717.48 Dec 31, 1969 3760.54 Dec 31, 1970 3805.29 Dec 31, 1971 3851.15 Dec 31, 1972 3897.26 Dec 31, 1973 3942.22 Dec 31, 1974 3985.11 Dec 31, 1975 4025.27 Dec 31, 1976 4063.19 Dec 31, 1977 4100.36 Dec 31, 1978 4138.82 Dec 31, 1979 4179.85 Dec 31, 1980 4222.48 Dec 31, 1981 4265.18 Dec 31, 1982 4307.91 Dec 31, 1983 4350.57 Dec 31, 1984 4392.14 Dec 31, 1985 4435.93 Dec 31, 1986 4479.52 Dec 31, 1987 4509.46 Dec 31, 1988 4507.82 Dec 31, 1989 4463.42 Dec 31, 1990 4369.32 Dec 31, 1991 4233.67 Dec 31, 1992 4078.94 Dec 31, 1993 3936.53 Dec 31, 1994 3829.05 Dec 31, 1995 3764.42 Dec 31, 1996 3736.07 Dec 31, 1997 3734.34 Dec 31, 1998 3743.35 Dec 31, 1999 3751.18 Dec 31, 2000 3755.51 Dec 31, 2001 3759.39 Dec 31, 2002 3762.18 Dec 31, 2003 3764.19 Dec 31, 2004 3765.33 Dec 31, 2005 3765.42 Dec 31, 2006 3762.79 Dec 31, 2007 3754.26 Dec 31, 2008 3735.95 Dec 31, 2009 3705.48 Dec 31, 2010 3661.17 Dec 31, 2011 3604.97 Dec 31, 2012 3542.6 Dec 31, 2013 3482.11 Dec 31, 2014 3429.36 Dec 31, 2015 3386.26 Dec 31, 2016 3351.53 Dec 31, 2017 3323.93 Dec 31, 2018 3301 Dec 31, 2019 3280.82

Vega-Lite specification:
{"config": {"area": {"fill": "#30a2da"}, "axis": {"domainColor": "#cbcbcb", "grid": true, "gridColor": "#cbcbcb", "gridWidth": 1, "labelColor": "#999", "labelFontSize": 10, "titleColor": "#333", "tickColor": "#cbcbcb", "tickSize": 10, "titleFontSize": 14, "titlePadding": 10, "labelPadding": 4}, "axisBand": {"grid": false}, "background": "#f0f0f0", "view": {"fill": "#f0f0f0"}, "legend": {"labelColor": "#333", "labelFontSize": 11, "padding": 1, "symbolSize": 30, "symbolType": "square", "titleColor": "#333", "titleFontSize": 14, "titlePadding": 10}, "line": {"stroke": "#30a2da", "strokeWidth": 2}, "rect": {"fill": "#30a2da"}, "bar": {"binSpacing": 2, "fill": "#30a2da", "stroke": null}, "range": {"category": ["#30a2da", "#fc4f30", "#e5ae38", "#6d904f", "#8b8b8b", "#b96db8", "#ff9e27", "#56cc60", "#52d2ca", "#52689e", "#545454", "#9fe4f8"], "diverging": ["#cc0020", "#e77866", "#f6e7e1", "#d6e8ed", "#91bfd9", "#1d78b5"], "heatmap": ["#d6e8ed", "#cee0e5", "#91bfd9", "#549cc6", "#1d78b5"]}, "point": {"filled": true, "shape": "circle"}, "title": {"anchor": "start", "fontSize": 24, "fontWeight": 600, "offset": 20}}, "data": {"url": "data/11729.tsv"}, "mark": "area", "encoding": {"color": {"value": "#ff9e27"}, "x": {"type": "temporal", "axis": {"labelAngle": 90}, "bin": false, "field": "Year"}, "y": {"type": "quantitative", "axis": {"title": "Population in thousands"}, "field": "Population in thousands"}}, "title": ["Population of Bosnia and Herzegovina from", "1818 to 2020 (in 1,000s)"], "$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json"}