Create Horizontal Bar Graph of skills for your CV using Python.
Applying for a job in IT is getting harder than used to be. Every field requires a portfolio of your work if you don't have outstanding work experience or if you don't have a reference.
The lack of proof that I am capable to do some coding and analysis with Python, I thought to transfer that knowledge while I am building my CV. So, below you will find a simple graph of my skills.
In [23]:
import matplotlib.pyplot as plt
#create two lists containing the values we want to plot
Tool = ['HTML, CSS', 'Tableau', 'Excel', 'Rstudio','Python']
Skill = [4, 3, 9, 8, 7]
#plot size
fig, ax = plt.subplots(figsize=(5, 2))
#customisation of the horizontal bars
plt.barh(Tool, Skill, color = ['chartreuse', 'darkblue', 'green', 'deepskyblue', 'orangered'], height = 0.5)
#customisation of the labels
plt.ylabel('Tools', fontsize=11, fontweight='bold',
color='black')
plt.xlabel('Skills', fontsize=11, fontweight='bold',
color='black')
#title and show
plt.title('Tools Skills')
plt.show()
You can find the colours here: https://matplotlib.org/stable/gallery/color/named_colors.html
The following code is to convert the python code to HTML so I can upload it to this blog:
import os
os.system('jupyter nbconvert --to html HorizontalGraph.ipynb')
Comments
Post a Comment