Spreadsheets include a lot of tools to deal with data, including presenting the data in colorful charts. Let's see how to append a chart programmatically to an Excel spreadsheet.
We will use the module openpyxl. We should install the module, adding it to our requirements.txt file as follows:
$ echo "openpyxl==2.5.4" >> requirements.txt
$ pip install -r requirements.txt