"2. For the second visualization we will use wages as x-axis and wheat's price as y-axis. While the time advancement will be represented as years scattered"
"2. For the second visualization we will use wages as x-axis and wheat price as y-axis. While the time advancement will be represented as shades of color from black to white, with white being the last year in the data (1810)."
"ax1.set(xlabel='Price of Wheat per Kg (in poundsterling)', title='The Growth of Workers\\'s Purchasing Power in England')\n",
"ax1.grid()\n",
"ax1.set_ylabel('Wages', color='black')\n",
"ax1.set_ylabel('Weekly Wages (in poundsterling)', color='black')\n",
"\n",
"plt.xticks(np.arange(0.15, 0.85, 0.05))\n",
"plt.rcParams[\"figure.figsize\"] = (18,9)\n",
"plt.minorticks_on()\n",
"plt.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The first method to visualize the purchasing power is definetely more intuitive for most people. By looking at the direction of the plotted line, we can see that in general the workers was able to buy more and more wheat overtime from 16th to 18th century. \n",
"\n",
"On the other hand, it is rather difficult to understand the second graph. However this graphs also shows that the workers's salary growth is more linear overtime, compared to the wheat price. We can easily see that along the y-axis (wheat price) the color changes from black to white which is the progression of time. While horizontally there is no certain pattern, which means that the growth of wheat price is not linear overtime.\n",
"\n",
"### Conclusion\n",
"The presentation of the original graph by William Playfair was a great success and far ahead of its time. However it may need some adjustment regarding the units such as shillings to poundsterling and quarter to kilograms. Moreover we can also apply some computations and visualization techniques to improve its presentation"