Learn practical skills, build real-world projects, and advance your career

1. What is data visualization?

  • Ans:
    • Presenting data in graphs, charts and plots is known as data visualization.
    • Data visualization involves images that communicate relationships among the data.
    • Data visualization is an essential part of data analysis and machine learning.
    • For data visualization purpose popular python libraries like Matplotlib and Seaborn are used.

2. What is Matplotlib?

  • Ans:
    • Matplotlib is a popular plotting library for Python programming language.
    • It is a cross-platform for data visualization and graphical plotting.
    • Matplotlib uses Pyplot API interface, for plotting.

3. What is Seaborn?

  • Ans:
    • Seaborn is an advanced matplotlib based Python library widely used for data visualization.
    • Seaborn provides a high-level interface for drawing attractive and informative statistical graphics.

4. How do you install Matplotlib and Seaborn?

  • Ans:
    • To install matplotlib and seaborn:
    • !pip install matplotlib seaborn --upgrade --quiet (in jupyter notebook)

5. How you import Matplotlib and Seaborn? What are the common aliases used while importing these modules?

  • Ans:
    • To import matplotlib: import matplotlib.pyplot as plt
    • To import seaborn : import seaborn as sns