Skip to content
KnowledgeCity

Python: Visualizing Data with Line Charts

Learn how to visualize data with line charts.
Preview the first lesson free — get full access to all 3 lessons.
Course: On-Demand
Intermediate Provider Brian Higgins  3 Lessons ·  12m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

In these lessons, you will learn to visualize data with line charts. We’ll show you how to create a single plot line with labels and grids, and you’ll learn to lay out line graph subplots. You will start by creating a simple line plot, then you’ll learn how to generate line plots with styling like titles, x-axis and y-axis labels, and grids. You will also learn how to specify individual fonts for line plot titles and labels.

Then we’ll show you how to lay out line graph subplots. In these graphs, you will be able to lay out the row and column location for each subplot. You’ll use Numpy random integers to create unique lists of hypothetical stock prices in a Pandas DataFrame, then we’ll conclude with how to create line plots using the test stock data from the Pandas DataFrame you created.

What You'll Learn

  • Create a simple line plot to visualize data
  • Add titles, x-axis and y-axis labels, and grids to line plots
  • Specify individual fonts for line plot titles and labels
  • Lay out line graph subplots by row and column location
  • Generate hypothetical stock price lists using Numpy random integers in a Pandas DataFrame
  • Plot line charts using data from a Pandas DataFrame

Key Takeaways

  • Line charts can be created as single plots with labels and grids or arranged as multiple subplots.
  • Line plots can be styled with titles, axis labels, grids, and individually specified fonts.
  • Subplots can be arranged by setting the row and column location for each plot.
  • Numpy random integers can be used to build hypothetical stock price lists within a Pandas DataFrame.
  • Line plots can be generated directly from data stored in a Pandas DataFrame.

Frequently Asked Questions

What will I learn in this course?

You will learn to visualize data with line charts, including creating a single plot line with labels and grids, styling plots with titles and axis labels, specifying fonts, laying out line graph subplots, and plotting using a Pandas DataFrame.

What topics do the lessons cover?

The lessons cover Plot Labels and Grids, Creating Subplots, and Plotting With a Pandas DataFrame.

What skills will I gain from this course?

You will build skills in Data Visualization, Graphing, Information Visualization, Line Charts, Scientific Visualization, and Visualization.

How is data prepared for the line plots in this course?

You will use Numpy random integers to create unique lists of hypothetical stock prices in a Pandas DataFrame, then create line plots using that test stock data.