CAB105:DATA VISUALIZATION USING PYTHON
L:2 T:0 P:2 Credits:3
Course Outcomes: Through this course students should be able to
CO1 :: remember the foundational concepts of data visualization and their significance in data
science.
CO2 :: understand to efficiently handle data tasks such as loading, cleaning, transforming, and
saving data in various formats.
CO3 :: apply to efficiently handle data tasks such as loading, cleaning, transforming, and saving
data in various formats
CO4 :: analyze how to learn and manipulate numerical data using the NumPy library.
CO5 :: evaluate acquired knowledge and skills through hands-on engagement with real-world
datasets and case studies.
CO6 :: create to build dynamic plots and dashboards using Plotly, Dash, Bokeh, and [Link].
Unit I
Fundamentals of Data Science and Python : Introduction to data science and the importance of
data visualization, introduction to statistics in data science, differences between inferential and
descriptive statistics, drawing inferences from data, random variables, normal probability distribution,
sampling, data types, ordinal and nominal data with examples, Python overview and installation,
introduction to Python, types of operators, data types in Python, libraries required for visualization in
Python.
Unit II
Data Wrangling with Pandas : Introduction to pandas data structures, essential functionalities,
summarizing and computing descriptive statistics, data loading, storage, and file formats, reading and
writing data in text format, data cleaning and preparation, handling missing data, data
transformation, string manipulation, data wrangling techniques: hierarchical indexing, combining and
merging datasets, reshaping and pivoting
Unit III
Numerical Data Analysis with NumPy : Introduction to NumPy, arrays and vectorized
computation, creating and manipulating arrays, universal functions, array operations, broadcasting,
structured arrays, importing and exporting data, random number generation, mathematical and
statistical functions, linear algebra operations using NumPy, case study on numerical data analysis
with NumPy.
Unit IV
Fundamentals of Visualization with Matplotlib : Introduction to Matplotlib and its importance in
data visualization, setting up the Matplotlib environment, creating and customizing basic plots (line,
bar, scatter, histogram), working with multiple plots and subplots, advanced visualization techniques
(heatmaps, 3D plots, waffle charts), integrating Matplotlib with Pandas for data analysis, interactive
plots using Matplotlib, best practices for effective data visualization.
Unit V
Advanced Visualization Techniques with Seaborn : Introduction to Seaborn, comparison with
Matplotlib, Seaborn functionalities and usage, creating distribution plots, categorical plots, matrix
plots, regression plots, customizing Seaborn plots (themes, color palettes, grids), integrating Seaborn
with Pandas for enhanced data visualization, case study on real-world data visualization project.
Unit VI
Interactive and Web-based Visualizations: : Introduction to interactive visualizations, using Plotly
for interactive plots, creating dashboards with Dash, introduction to Bokeh for interactive web plots,
integrating interactive visualizations with web applications, using [Link] with Python for advanced web
visualizations, case study on creating interactive and web-based visualizations for real-world data
List of Practicals / Experiments:
List of practicles
• Write a Python script to calculate the variance and standard deviation of a given dataset.
• Implement a Python function to generate a random sample from a uniform distribution.
Session 2025-26 Page:1/2
• Write code to read an Excel file using pandas and display the summary statistics of the DataFrame.
• Implement a Python script to remove duplicate rows in a DataFrame using Pandas.
• Implement a Python function to merge two DataFrames on a common column.
• Create a Pandas code snippet to filter rows in a DataFrame based on a condition.
• Create a pie chart using Matplotlib to visualize the proportion of categories in a dataset.
• Plot a histogram to show the frequency distribution of a numerical variable using Matplotlib.
• Implement a Python script to create a bubble chart with varying bubble sizes.
• Use Seaborn to create a violin plot showing the distribution of a numerical variable grouped by a
categorical variable.
• Implement Python code to create a cluster map to visualize hierarchical clustering using Seaborn.
• Implement a Seaborn script to create a swarm plot for a categorical and numerical variable in a
DataFrame.
• Implement a Python script to calculate basic statistical measures (mean, median, standard deviation)
using NumPy.
• Create a time series plot using Matplotlib to show trends over time.
• Apply a data manipulation package (e.g., pandas, NumPy) to normalize and scale a dataset.
Text Books:
1. "PYTHON FOR DATA ANALYSIS" by RITURAJ DIXIT, BPB PUBLICATIONS
References:
1. DATA SCIENCE FOR BUSINESS by PROF. DR. J. RENGAMANI, Booksclinic Publishing
Session 2025-26 Page:2/2