Skip to content

Data-Viz-Labs/python-programmatic-dataviz-with-matplotlib

Repository files navigation

Python and Matplotlib Learning Materials

This repository contains educational materials for learning data visualization in Python using Matplotlib. These notebooks are designed to be run in Google Colab, making them easily accessible for students without requiring local installation of Python or any dependencies.

Overview

These materials cover fundamental concepts of data visualization using Python's Matplotlib library. The exercises are hands-on and interactive, allowing you to experiment with different visualization techniques and understand their applications in real-world scenarios.

Notebooks

Click on the links below to open the notebooks directly in Google Colab:

Open In Colab Chapter 3.2 - Python and Matplotlib
Introduction to basic Matplotlib concepts and fundamentals

Open In Colab Chapter 3.2.1 - Python and Matplotlib Workshop (Replicate)
Practice exercises to replicate various types of plots and charts

Open In Colab Chapter 3.2.2 - Python and Matplotlib Workshop (Super Store)
Real-world data visualization exercises using the Super Store dataset

Getting Started

  1. Click on any of the "Open in Colab" badges above to open the notebook in Google Colab
  2. If prompted, sign in with your Google account
  3. Save a copy of the notebook to your Google Drive to keep your work
  4. Execute the cells and follow the instructions within each notebook

Prerequisites

  • A Google account to access Google Colab
  • Basic understanding of Python syntax
  • No local installation required - everything runs in the cloud!

Topics Covered

  • Basic plotting with Matplotlib
  • Customizing plot appearance
  • Different types of visualizations:
    • Line plots
    • Scatter plots
    • Bar charts
    • Histograms
    • Box plots
  • Working with real datasets
  • Best practices for data visualization

How to Use

Each notebook contains:

  • Theoretical explanations
  • Code examples
  • Practice exercises
  • Challenges to test your understanding

Remember to execute the code cells in order and read all instructions carefully.

Note

Remember to save your work periodically in Google Colab. The runtime may disconnect after periods of inactivity.

About

Notebooks to practice & learn Matplotlib

Resources

License

Stars

Watchers

Forks