...

/

Unveil the Story

Unveil the Story

Learn the fundamentals of data visualization with Matplotlib. Create and interpret line, bar, scatter, and pie charts to communicate insights derived from our cleaned and explored data visually.

Johns Hopkins COVID-19https://coronavirus.jhu.edu/map.html dashboard used interactive maps and time series charts to provide real-time pandemic insights globally. 

Now, it’s time for a crucial step: bringing our data to life visually. While numbers and tables are essential, charts and graphs are how we tell data’s story in a way anyone can understand and remember. In this lesson, we will first create these compelling visual narratives using a powerful Python library called Matplotlib. We’ll learn how to create common charts that help us communicate our insights clearly and effectively.

Press + to interact

Introducing data visualization

Imagine describing a complex weather pattern using only numbers, or explaining the spread of a new product across different regions with just a list of sales figures. It’s incredibly challenging, right? But with a visual, it becomes instantly clear.

Data visualization is the art and science of presenting data visually, such as charts, graphs, and maps. This practice helps us in several significant ways:

  • First, it allows us to understand patterns quickly, making it easy to spot trends, outliers, and relationships that might be hidden in raw numbers. We’ve already calculated correlations and summary statistics; visualization helps us see them.

  • Secondly, it empowers us to communicate insights effectively, enabling us to share our findings with others in a easy-to-understand and remember way. This makes our analytical work impactful.

  • Finally, data visualization helps us make decisions by clearly presenting the big picture, leading to better and faster choices based on evidence.

Press + to interact
Data visualization process
Data visualization process

For our initial steps into creating these visual stories, we will use Matplotlib. Think of Matplotlib as our basic paint set within Python. It’s a powerful and widely used library that lets us create various static, animated, and interactive visualizations. Since we’re already comfortable with Python and handling data (likely in pandas DataFrames), Matplotlib is the perfect tool to start drawing with our clean and explored data! ...