Visualizing data of different types
In the previous section, we saw how to use pandas and matplotlib to create charts for data visualization. In a data analytics project, data visualization can be used either for data analysis or to communicate insights. Presenting results in a visual way that stakeholders can easily understand and interpret is definitely a must-have skill for any good data analyst. However, you cannot choose any random chart or plot to visualize all of the different types of data that an analyst may encounter. Different chart or plot types are suitable for communicating the insight for different types of data – that is, when communicating the reach of social media on different age groups, it is preferable to use a pie chart instead of a bar or a box. On the other hand, line plots are more suitable for visualizing gradual change. The trick of data visualization is to know exactly which type of plot is appropriate for each data type you will encounter. This is...