Logo

Learn Platform

Interactive Courses

Lesson 3 of 3~1 min read100% complete

Data Visualisation

Data Visualisation

Turn raw data into insights with Matplotlib and Seaborn.

import matplotlib.pyplot as plt
courses = ["Web Dev", "Data Science", "Cybersecurity"]
students = [45, 38, 32]
plt.bar(courses, students)
plt.title("Students per Course")
plt.show()

Best Practices

  1. Always label your axes
  2. Use colour purposefully
  3. Keep it simple
  4. Choose the right chart type