No matter how insightful data you have if there is no action taken on it.
Only way to get attention for this data is to get a HiPPO (Highest Paid Person in the Office) onboard.
The thing with HiPPOs is they don't have time to go through excel sheets full of data. To give them an idea of the importance of your insights, you need to showcase the power of data beyond just numbers, and this is where data visualization comes into picture. Through this, they can get a concrete summary in a single glance.
Creating Data Visualizations is very easy nowadays, you just have to decide which one will represent your data in the best way.
This is the first post of the data visualization techniques series. In this series, I will post some, off the track data visualization techniques.
Wordcloud is generally used for plotting frequency of any word in the text or doucment etc but you can use it to plot any frequency data.
We are taking an example of frequency of words used in a movie (The Lord of the Rings-The Fellowship of the Ring)
Our end product will look like:
Get one original picture from internet.
Open Image with illustrator.
Click Image Trace Button on the control panel.
Save this new image.
Here, I am using Adobe Illustrator, but you can also do this with other editing tools like Photoshop. Also, if you are lucky you will get the required image itself on the internet. Bottom-line is your image should cover all the outlines and filled with black (as shown)
We will have to import 3 python libraries, "Image" to open and read the image, "numpy" to convert image trace to mathematical array which gives information in where to plot, and last "WordCloud" which will plot the data using the information provided.
from PIL import Image
import numpy as np
from wordcloud import WordCloud
#Open your image
lotr_mask = np.array(Image.open(image))
wc = WordCloud(background_color="white", max_words=2000, mask=lotr_mask)
# generate word cloud
wc.generate(text)
# store to file
wc.to_file(out_image)
And Walah ! You wordcloud is ready.
You can learn more about WordCloud library here
Do not underestimate Data Visualization. With proper usage of this technique, you will be surprised with the amount of attention your data will start receiving.