STSKK’s
TONTADARYA COLLEGE OF
ENGINEERING, GADAG
Department of Computer Science and Design
DATA VISUALIZATION USING
PYTHON
(BCS358D)
Laboratory Manual
2025-26
Prepared by,
Santoshkumar Merwade
Assistant Professor,
Dept of CSD,
TCE Gadag
Data Visualization with Python (BCS358D)
List of Experiments
1. a) Write a python program to find the best of two test average marks out of three
test’s marks accepted from the user.
b) Develop a Python program to check whether a given number is palindrome or not
and also count the number of occurrences of each digit in the input number.
2. a) Defined as a function F as Fn = Fn-1 + Fn-2. Write a Python program which
accepts a value for N (where N >0) as input and pass this value to the function.
Display suitable error message if the condition for input value is not followed.
b) Develop a python program to convert binary to decimal, octal to hexadecimal using
functions.
3. a) Write a Python program that accepts a sentence and find the number of words,
digits, uppercase letters and lowercase letters.
b) Write a Python program to find the string similarity between two given strings.
4. a) Write a Python program to demonstrate how to draw a Bar Plot using Matplotlib.
b) Write a Python program to demonstrate how to draw a Scatter Plot using
Matplotlib.
5. a) Write a Python program to demonstrate how to draw a Histogram Plot using
Matplotlib.
b) Write a Python program to demonstrate how to draw a Pie Chart using Matplotlib.
6. a) Write a Python program to illustrate Linear Plotting using Matplotlib.
b) Write a Python program to illustrate liner plotting with line formatting using
Matplotlib.
7. Write a Python program which explains uses of customizing seaborn plots with
Aesthetic functions
8. Write a Python program to explain working with bokeh line graph using Annotations
and Legends.
a) Write a Python program for plotting different types of plots using Bokeh.
9. Write a Python program to draw 3D Plots using Plotly Libraries.
10. a) Write a Python program to draw Time Series using Plotly Libraries.
b) Write a Python program for creating Maps using Plotly Libraries.
Dept of CSD, TCE, Gadag Page 1
Data Visualization with Python (BCS358D)
1. a) Write a python program to find the best of two test average marks out of three
test’s marks accepted from the user.
Dept of CSD, TCE, Gadag Page 2
Data Visualization with Python (BCS358D)
1. b) Develop a Python program to check whether a given number is palindrome or not
and also count the number of occurrences of each digit in the input number.
Dept of CSD, TCE, Gadag Page 3
Data Visualization with Python (BCS358D)
2. a) Defined as a function F as Fn = Fn-1 + Fn-2. Write a Python program which
accepts a value for N (where N >0) as input and pass this value to the function.
Display suitable error message if the condition for input value is not followed.
Dept of CSD, TCE, Gadag Page 4
Data Visualization with Python (BCS358D)
2. b) Develop a python program to convert binary to decimal, octal to hexadecimal using
functions.
Dept of CSD, TCE, Gadag Page 5
Data Visualization with Python (BCS358D)
3. a) Write a Python program that accepts a sentence and find the number of words,
digits, uppercase letters and lowercase letters.
Dept of CSD, TCE, Gadag Page 6
Data Visualization with Python (BCS358D)
3. b) Write a Python program to find the string similarity between two given strings.
Dept of CSD, TCE, Gadag Page 7
Data Visualization with Python (BCS358D)
4. a) Write a Python program to demonstrate how to draw a Bar Plot using Matplotlib.
Dept of CSD, TCE, Gadag Page 8
Data Visualization with Python (BCS358D)
4. b) Write a Python program to demonstrate how to draw a Scatter Plot using
Matplotlib.
Dept of CSD, TCE, Gadag Page 9
Data Visualization with Python (BCS358D)
5. a) Write a Python program to demonstrate how to draw a Histogram Plot using
Matplotlib.
Dept of CSD, TCE, Gadag Page 10
Data Visualization with Python (BCS358D)
5. b) Write a Python program to demonstrate how to draw a Pie Chart using Matplotlib.
Dept of CSD, TCE, Gadag Page 11
Data Visualization with Python (BCS358D)
6. a) Write a Python program to illustrate Linear Plotting using Matplotlib.
Dept of CSD, TCE, Gadag Page 12
Data Visualization with Python (BCS358D)
6. b) Write a Python program to illustrate liner plotting with line formatting using
Matplotlib.
Dept of CSD, TCE, Gadag Page 13
Data Visualization with Python (BCS358D)
7. Write a Python program which explains uses of customizing seaborn plots with
Aesthetic functions.
Dept of CSD, TCE, Gadag Page 14
Data Visualization with Python (BCS358D)
8. Write a Python program to explain working with bokeh line graph using Annotations
and Legends.
a) Write a Python program for plotting different types of plots using Bokeh.
Dept of CSD, TCE, Gadag Page 15
Data Visualization with Python (BCS358D)
Dept of CSD, TCE, Gadag Page 16
Data Visualization with Python (BCS358D)
9. Write a Python program to draw 3D Plots using Plotly Libraries.
Dept of CSD, TCE, Gadag Page 17
Data Visualization with Python (BCS358D)
10. a) Write a Python program to draw Time Series using Plotly Libraries.
Dept of CSD, TCE, Gadag Page 18
Data Visualization with Python (BCS358D)
10. b) Write a Python program for creating Maps using Plotly Libraries.
Dept of CSD, TCE, Gadag Page 19