Project PPT 1

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

DATA

VISUALIZATION
1.SONI SUPRIYA - CH.EN.U4CSE22055
2.PAVITHRA DEVI P - CH.EN.U4CSE22046
3.B.LEELAMRUTHA - CH.EN.U4CSE22012
4.K.VAISSHNAVI - CH.EN.U4CSE22028
INTRODUCTION
Data visualization is a powerful technique used to present complex information in a visual
format, making it more accessible and understandable. Through graphical
representations such as charts, graphs, and maps, data visualization offers a means to interpret,
analyze, and communicate patterns, trends, and insights from data. By leveraging
visualization tools like Matplotlib, or Plotly in conjunction with data extracted into
comprehensible visuals.
PROBLEM DEFINITION
The following problems in daily life and make tasks easier:
1.Data Management: Simplifies the management of registration data, which is a common requirement in
educational insttitutions.
2.User-Friendly Interface: Provides an intuitive and user-friendly interface, making it easier for non-
technical users to interact with the data.
3.Efficient Database Interaction: Streamlines interactions with a MySQL database for data storage and
retrieval, saving time and reducing errors.
4.Data Entry and Updates: Facilities adding, updating, and deleting records , simplifying administrative
tasks.
PROBLEM STATEMENT
The provided code is intended to create a graphical user interface (GUI) using the
tkinter library for displaying data from a MySQL database. The GUI includes a tree
view for presenting student information such as student ID, name, gender, city, email,
contact number, and course. Users can add, update, and delete student records through
the GUI, and the corresponding changes are reflected in the database. Additionally, the
code allows users to generate pie charts and bar graphs to visualize the gender
distribution of the student records. However, there are a few issues in the code. One
issue is that the close button functionality for the pie chart and bar graph windows is
missing, and the code lacks the necessary handling for these features. Additionally,
some of the code logic for data entry and updates could be improved for better
user experience.
LIST OF MODULES
1.Tkinter: Tkinter is a built-in Python library for creating graphical user interfaces. It is
already be included with Python installation.
2.Matplotlib: Matplotlib is a Python library for creating data visualizations, such as charts
and graphs. You can install it using pip:
``` pip install matplotlib

```

3.TkAgg Backend: The code includes the Matplotlib TkAgg backend to embed Matplotlib
plots within a Tkinter GUI. It's typically included with Matplotlib.
ARCHITECTURE DESIGN
ALGORITHM
1.Import Necessary Modules
Import required modules such as mysql.connector, tkinter, matplotlib, PIL, and more.
Initialize GUI
2.Create a Tkinter instance r.
3.Connect to a local MySQL database named "registration."
4.Create a cursor object to interact with the database.
5.Create Treeview to Display Data
6.Use ttk.Treeview to display student records retrieved from the "reg_member" table.
Set up columns and headings for the tree view.
Populate Treeview with Data
9.Fetch records from the database and insert them into the tree view widget.
Enable Scrollbars for Treeview
10.Attach horizontal and vertical scrollbars to navigate through the data.
Define Functions for CRUD Operations
11.Add Data Function
Function to add a new student record using an entry form.
Insert data into the MySQL database and update the tree view accordingly.
12.Delete Data Function
13.Select a record for modification and update it in the database and the tree view.
Pie Chart and Bar Graph Functions
14.Generate pie chart and bar graph based on gender distribution data retrieved from the database.
Main Loop (GUI Execution)
15.Run the Tkinter main loop to display the GUI and handle user interactions.
CONCLUSION
This project harmoniously blends the capabilities of a Tkinter-based graphical user
interface (GUI) with MySQL database interaction and data visualization tools. It
empowers users to efficiently manage student records, offering functionalities for
addition, modification, and removal of records within the MySQL database.

The integration of pie and bar chart visualizations further enriches the user
experience, providing a clear representation of the gender distribution among
students.
Overall, this project serves as an excellent foundation, demonstrating the fusion of database
management, GUI design, and data visualization. Future iterations could focus on refining the
user interface and implementing robust error handling, enriching its usability and reliability for a
broader range of applications.
REFERENCES
1.Su, Ying, Dan Li, and Xiaodong Chen. ”Lung nodule detection based on faster R- CNN framework.”
Computer Methods and Programs in Biomedicine 200 (2021): 105866.

2.Neal Joshua, Eali Stephen, et al. ”3D CNN with visual insights for early detection of lung cancer using
gradient-weighted class activation.” Journal of Healthcare Engineering 2021 (2021): 1-11.

3.Dutande, Prasad, Ujjwal Baid, and Sanjay Talbar. ”LNCDS: A 2D- 3D cascaded CNN approach for lung
nodule classification, detection and segmentation.” Biomedical signal processing and control 67 (2021):
102527.
THANK YOU

You might also like