0% found this document useful (0 votes)
2 views31 pages

info_practices_Investigatory Report(shri.m12A) (2)

ip 12th cbse

Uploaded by

sandeep majumdar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views31 pages

info_practices_Investigatory Report(shri.m12A) (2)

ip 12th cbse

Uploaded by

sandeep majumdar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 31

VIVEKANANDA KENDRA

VIDYALAYA
SRI VIJAYA PURAM

SESSION: 2025-26

INFORMATICS PRACTICES PROJECT


Olympic Games Medals Data Analysis
SUBMITTED BY:

NAME: SHRISTI MAJUMDER


CLASS: XII
SEC : A
EXAM ROLL NO.:
UNDER THE GUIDENCE OF
MRS. KAVITA

Sign of External Sign of Subject


Sign of Principal
Teacher
INDEX
S.NO. Content Page No.

1 Certificate 1

2 Acknowledgement 2

3 Introduction 3-4

4 Objective & Scope of the Project 5

5 Theoretical Background 6-8

6 Problem Definition & Analysis 9-10

System Design & Development

7 7.1 Database Design 11-25


7.2 Coding and Output

System Implementation

8 8.1 The Hardware used 26


8.2 The Software used

9 Bibliography 27
CERTIFICATE

This is to certify that Informatics Practices project


titles Olympic Games Medals Data Analysis has
been successfully completed by SHRISTI
MAJUMDER of Class XII ‘A’ bearing Roll No.
_____________________, under the guidance of
Smt. Kavita as prescribed by SSCE course during
the academic year

2025-2026.

Signature of External Examiner Signature of Subject Teacher

ACKNOWLEDGEMENT
1
In the accomplishment of this project successfully,

many people have best owned upon me their blessing

and the heart pledged support, this time I am utilizing

to thanks all the people who have been concerned with

the project. Primarily I would thank god for being able

to complete this project with success. Then I would

like to thank my principal Smt. Jaya Shivsankaran

and Informatics Practices teacher Smt. Kavita whose

valuable guidance has been the ones that helped me to

make this project and make it full proof success his

suggestions and instructions has served as the major

contributor towards the completion of the project.

Then I would like to thank my parents and friends who

have helped me with their valuable suggestions and

guidance has been helpful in various phases of the

completion of this project.

Last but not the least I would like to thank my


classmates who have helped me a lot.
2
OLYMPIC GAMES MEDALS DATA
ANALYSIS

INTRODUCTION

The Olympic Games are the world's


foremost sports competition, held every
four years and featuring athletes from
across the globe competing in a variety of
events. Over the decades, a rich volume of data has been collected on medals
won by different countries in various sports categories. This dataset offers an
excellent opportunity for analytical study using data science techniques.

This project titled "Olympic Games Medals Data Analysis" is designed to


analyze historical medal data using Python programming and CSV data files.
The main goal is to identify patterns, trends, and insights that can provide a
comprehensive understanding of the Olympic performance of various nations
over the years.

The project includes data cleaning, filtering, statistical computation, and


visualization using Python libraries such as Pandas, Numpy, and Matplotlib.
The data is stored and managed using CSV (Comma Separated Values) files,
which makes the project lightweight and platform-independent.

MENU SYSTEM
Upon execution, the program presents a user-friendly, menu-driven interface
allowing the user to explore and analyse the Olympic Games Paris 2024
Medals Dataset. The system is divided into three main modules:

Main Menu:

OLYMPIC GAMES PARIS 2024 MEDALS ANALYSIS

1. Display Information 3. Visualization

2. Modification 4. Exit..
1. Display Information:
3
 View the complete dataset  List top-performing countries
by total medals
 Search for a specific country's
medal tally  Explore sport/event-wise
medal distribution

2. Modification:

This module enables the user to modify the dataset (if implemented), including:

 Adding new entries (rows)  Deleting incorrect or duplicate


records
 Updating existing medal
tallies  Saving the updated CSV file

3. Visualization:

VISUALIZATION MENU

1. Line Chart 3. Histogram

2. Bar Graph 4. Exit Visualization

Sub-options

1. Top 10 Countries 5. Specific Country

2. Gold Medals 6. Event-wise Trends

3. Silver Medals 7. Exit

4. Bronze Medals

4. Exit: terminates the program.

This menu system offers a structured and interactive approach for users to
explore the data analytically and visually, making the project more practical and
user-centric.
OBJECTIVE AND SCOPE OF A PROJECT
4

OBJECTIVES:
The primary objectives of this project titled “Olympic Games Paris 2024
Medals Analysis” are as follows:

 To study and understand the use of Python in handling real-world datasets.

 To load and manipulate CSV data using Python libraries.

 To extract meaningful insights from historical Olympic medal data.

 To create visual representations that enhance understanding of data trends.

 To identify the top-performing countries, athletes, and sports in the


Olympics.

SCOPE
 Data Handling: The project uses Olympic 2024 medal data stored in a
CSV file, which is read and processed through Python using pandas. The
data includes fields such as Country, Sport/Event, Medal Type, and more.

 Modular Interaction: The program offers a modular structure—divided


into Display, Modification, and Visualization—enabling users to engage
with the dataset in different ways based on their needs.

 Advanced Visualization: Users can generate various types of charts


(line, bar, histogram) for different categories such as country-wise
medals, medal type analysis (Gold/Silver/Bronze), and event-wise
comparisons.

 Real-World Simulation: The modification module mimics a basic


database management system, allowing updates to the CSV file, which
reflects how real-world data might be managed in sports analytics or
similar fields.
 Scalability: Although focused on Paris 2024, the structure of the program
allows it to be extended for other Olympic editions by simply updating
the CSV file.

THEORITICAL BACKGROUND

PYTHON 5

 Python is a versatile, high-level programming


language known for its readability and ease of
use. It's widely used in various domains like web
development, data science, machine learning, and
software development. Python's dynamic typing
and interpreted nature allow for flexible code, and
its large standard library provides reusable tools
for common tasks.

Key features and characteristics of Python:


1. High-level: Python abstracts away many low-level details, making it easier
for programmers to focus on problem-solving.
2. Interpreted: Python code is executed line by line by an interpreter,
allowing for rapid prototyping and debugging.
3. Object-oriented: Python supports object-oriented programming principles,
allowing for modular and reusable code.
4. Readability: Python's syntax emphasizes readability with features like
indentation and clear syntax.
5. Extensive standard library: Python offers a wide range of built-in
modules and packages for various tasks.
6. Cross-platform compatibility: Python runs on various operating systems,
making it a versatile choice for different environments.
Python's advantages:
1. Easy to learn: Python's syntax is relatively straightforward, making it
accessible to beginners.
2. Increased productivity: Python's concise syntax and extensive library
reduce development time.

3. Versatile applications: Python is used in a wide variety of fields, from web


development to data analysis.
4. Good for rapid prototyping: Python's interpreted nature and dynamic
typing facilitate rapid development and experimentation.
5. Active community support: The large and supportive Python community
offers assistance and resources for developers.

CSV
6
A CSV (Comma-Separated Values) file is a plain text
file that stores data in a tabular format, where values are
separated by commas. It's a simple and widely used
format for exporting and importing data between
different software programs and databases.

Key characteristics of CSV files:


1. Plain text: CSV files are text-based, meaning they don't include any
formatting or special characters besides the delimiters.
2. Tabular data: Data is organized into rows and columns, similar to a
spreadsheet.
3. Comma as delimiter: Commas are used to separate values within each
row.
4. Line breaks: Each row is typically on a separate line, delimited by a
carriage return and line feed (CRLF).
5. Quotes: Fields containing commas, double quotes, or line breaks may be
enclosed in double quotes to ensure they are treated as a single value.
6. Simplicity: CSV files are easy to read and write, making them suitable
for various applications like data analysis, import/export, and data
exchange.

CSV files are commonly used for:


 Data Exchange: Importing and exporting data between different
software systems.
 Data Import/Export: Bringing data into or out of databases,
spreadsheets, or other applications.
 Data Analysis: Analysing and manipulating data in spreadsheet
applications.
 Data Migration: Moving data between different systems or
formats.
Key Features:
 Delimiters: The character used to separate values (comma, tab,
semicolon, etc.).
 Quotes: Double quotes are often used to enclose fields that contain
commas or other delimiters, or that have line breaks within them.
 No Formatting: CSV files do not contain any formatting
information like column widths, cell merging, or font styles.
DATA VISUALIZATION
Data visualization is the art and science 7of representing information and data
through visual elements like charts, graphs, and maps. It's about making
complex data more accessible and understandable, helping users identify
patterns, trends, and outliers
 Graphical representation: Data visualization translates numerical data
into visual formats, making it easier for the human brain to process and
understand.
 Tools and Techniques: Common visualization tools include bar charts,
line charts, scatter plots, maps, and more.

Examples of Data Visualization:


1. Bar charts 3. Pie charts 5. Maps
2. Line charts 4. Scatter plots
If graphs are involved in the output section, visualization libraries like
Matplotlib are used to present the data through bar graphs, line plots, and pie
charts. These visual representations help in understanding patterns and trends
more intuitively.

This project uses:

 Bar Graphs: For country-wise or sport-wise medal distribution.

 Line Graphs: For analyzing trends over years.

 Histogram: In this project, the histogram is used to show the frequency


distribution of medal counts, helping visualize how medals are spread
across
different
categories
or countries.
8
PROBLEM DEFINITION AND ANALYSIS
The Olympic Games generate vast volumes of data, especially concerning the
distribution of medals among countries, athletes, and events. Analysing this data
can offer valuable insights into patterns of national dominance, sport-specific
strengths, gender distribution, and more. However, raw data stored in formats
like CSV is often unstructured and not easily interpretable by end users.
This project aims to address the following core problems:
1. Unstructured Medal Data: The original dataset contains numerous rows
of medal information without any intuitive interface to extract meaningful
conclusions.
2. Lack of Visual Interpretation: Without visualization tools, identifying
trends in medal distribution over countries, events, and gender is
challenging.
3. Country-wise and Medal-wise Insights: Stakeholders may wish to
know how a particular country performed overall or in specific medal
categories (Gold, Silver, and Bronze).
4. User Interaction: Non-technical users require a simple, menu-driven
interface to analyse and manipulate Olympic data without writing
complex code.
5. Real-time Data Modification: There should be an option to add, edit, or
delete entries dynamically from the dataset, simulating real-world data
management scenarios.
6. Event and Discipline Patterns: Understanding which events yielded the
most medals or which disciplines saw greater participation can inform
national sports planning.
7. Medal Imbalance or Disparity: By analysing the frequency and spread
of medals using histograms, we can understand if certain countries
dominate the Olympics disproportionately.

Analysis:
To solve the above problems, the project follows a systematic approach using
Python and CSV files with the help of libraries like pandas and matplotlib.
The entire functionality is broken down into the following analytical modules:

1. Data Display and Filtering:

 Users can display the complete dataset or filter it based on specific


9
criteria such as country, medal type, or event.
 It includes options to view top medal-winning countries and those with
minimal medals, as well as retrieve detailed performance of any single
country.
2. Data Modification and Management:
 A dedicated module allows users to add new rows, update existing
records, or delete incorrect entries.
 Columns can also be inserted or removed, offering flexible editing of the
dataset.
 Changes are written back to the CSV file, simulating a basic form of
database management.
3. Data Visualization:
 Line Charts: Used to show trends like medal counts for top 10 countries,
or medal-specific data (Gold, Silver, Bronze).
 Bar Graphs: Offer a clearer comparison between countries, especially
for a specific medal category or event type.
 Histograms: Represent the distribution of medal counts, showing how
frequently countries appear within specific medal ranges. A cumulative
histogram helps understand total accumulation of medals over the
dataset.
4. Country and Medal-Specific Analysis:
 Allows narrowing down data to individual countries and retrieving their
medal distribution.
 Also enables grouping and analysis based on gender, discipline, or event
type, highlighting participation diversity and strength in specific areas.

Conclusion of Analysis: By implementing this project, users gain the ability to


interact with Olympic medal data meaningfully through a structured menu
system. They can analyze, visualize, and modify the dataset with ease. The
project provides a strong foundation in Python programming, data analytics, and
visualization while also reflecting real-world data challenges.

10
SYSTEM DESIGN & DEVELOPMENT

DATABASE DESIGN

Comma Separated Values (C.S.V) File:


medals.csv (Excel View):

NOTE
 The Olympic 2024 medals data used in this project
contains a total of 1,045 records. Due to space
limitations, only the first few entries (1 to 92) are shown
below for reference
 P.T.O

11
Figure 1
Figure 3

Figure 4

13
CODING
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.cm as cm
import matplotlib.colors as mcolors

def n_colors(n):
lst_colors=[]
cmap=plt.get_cmap('tab20',n)
for i in range(n):
lst_colors.append(mcolors.to_hex(cmap(i)))
return lst_colors

def display_menu():
print('-' * 50)
print('\tOLYMPIC GAMES PARIS 2024 MEDALS ANALYSIS')
print('-' * 50)
print('*' * 70)
pd.set_option('display.max_rows', None)
pd.set_option('display.max_columns', None)
pd.set_option('display.width', 130)

df=pd.read_csv('medals.csv')
# Main Program Loop
while True:
display_menu()

print("\t\t\t\t1. Display Information")


print("\t\t\t\t2. Modification")
print("\t\t\t\t3. Visualization")
print("\t\t\t\t4. Exit..")
print()

try:
ch = int(input("Enter Your Choice: "))
except ValueError:
print("Please enter a valid number.")
continue

if ch == 1:
print("\n\t\t\t\tDISPLAY OF ALL INFORMATION")
while True:
print("\nYour Choices are:")
print("\t\t1. Show Records of Olympic Games 2024")
print("\t\t2. Show the country wise Medals")
print("\t\t3. Show the country with Large number of Total
Medals(Top 5)")
print("\t\t4. Show the countries with Least number of Total
Medals")
print("\t\t5. Show medal details for specific country")
print("\t\t6. Show medal details for specific country medal
wise")
print("\t\t7. Exit..")
try:
sub_ch = int(input("\nYour choice: "))
except ValueError:

14
print("Please enter a valid number.")
continue
if sub_ch == 1:
print(df.head(20))
elif sub_ch == 2:
print(df.groupby("Country")["Medal"].count())
#max_medals = df.loc[df["Total number of
medals"].idxmax()]
#print(f"\nCountry with Most Medals: {max_medals['Name
of the Countries']} ({max_medals['Total number of medals']})")
elif sub_ch == 3:
cm=df.groupby("Country")["Medal"].count()
print(cm.sort_values(ascending=False).head())
elif sub_ch == 4:
cm=df.groupby("Country")["Medal"].count()
country=cm[cm==1]
print(country)
elif sub_ch==5:
country=input("Enter the country name to display
records:")
print(df[df['Country']==country])
elif sub_ch==6:
country=input("Enter the country name to display
records:")
if country in df.Country.values:
cod=df[df['Country']==country]
print(cod.groupby('Medal')['Medal'].count())
else:
print("No Country Name Found....")
elif sub_ch == 7:
break
else:
print("Invalid choice! Please try again.")

elif ch == 2:
print("\n\t\t\t\tMODIFICATION")
while True:
print("\nYour Choices are:")
print("\t\t1. Add a Row")
print("\t\t2. Modify a Row")
print("\t\t3. Delete a Row")
print("\t\t4. Add a blank column")
print("\t\t5. Delete a column")
print("\t\t6. Exit from Modification")
try:
mod_ch = int(input("\nYour choice: "))
except ValueError:
print("Please enter a valid number.")
continue

if mod_ch == 1:
med=input("Enter Medal:")
name=input("Enter Name (Individual or Team):")
con=input("Enter Country Name:")
g=input("Enter Gender:")
dis=input("Enter Discipline:")
ev=input("Enter Event:")
et=input("Enter Event Type:")

15
df.loc[len(df)+1,:]=[med,name,g,dis,ev,et,con]
print("\nRow Added. Updated DataFrame:")
df.to_csv("medals.csv",index=False)
elif mod_ch == 2:
idx=int(input("Enter index to modify record:"))
med=input("Enter Medal:")
name=input("Enter Name (Individual or Team):")
con=input("Enter Country Name:")
g=input("Enter Gender:")
dis=input("Enter Discipline:")
ev=input("Enter Event:")
et=input("Enter Event Type:")
df.loc[idx,:]=[med,name,g,dis,ev,et,con]
print("\nRow Modified. Updated DataFrame:")
df.to_csv("medals.csv",index=False)
elif mod_ch == 3:
idx=int(input("Enter index to delete record:"))
df=df.drop(idx,axis=0)
print("\n Row Deleted....")
df.to_csv("medals.csv",index=False)
elif mod_ch==4:
c=input("Enter New Column Name to insert:")
pos=int(input("Enter Position where you want to add a
column:"))
df.insert(pos-1,c,None)
print("Column Inserted....")
df.to_csv("medals.csv",index=False)
elif mod_ch==5:
c=input("Enter column name to delete:")
df=df.drop(c,axis=1)
print('Column Deleted...')
df.to_csv("medals.csv",index=False)
elif mod_ch == 6:
break
else:
print("Invalid choice! Please try again.")

elif ch == 3:
print("\n\t\t\t\tVISUALIZATION")
while True:
print("\nYour Choices are:")
print("\t\t1. Line Chart")
print("\t\t2. Bar Graph")
print("\t\t3. Histogram")
print("\t\t4. Exit Visualization")
try:
vis_ch = int(input("\nYour choice: "))
except ValueError:
print("Please enter a valid number.")
continue

if vis_ch == 1:
print("\n\t\t\t\tLine Chart")
while True:
print("\nYour Choices are:")
print("\t\t1. Top 10 countries")
print("\t\t2. Gold Medal")
print("\t\t3. Silver Medals")

16
print("\t\t4. Bronze Medals")
print("\t\t5. Speciifc Country")
print("\t\t6. Event wise")
print("\t\t7. Exit")
try:
line_chart_ch = int(input("\nYour choice: "))
except ValueError:
print("Please enter a valid number.")
continue
if line_chart_ch==1:

medals_tot=df["Country"].value_counts().head(10)

plt.plot(medals_tot.index,medals_tot.values,marker='d',color='r',label=
'Medals')
plt.xlabel("Country")
plt.ylabel("Number of Medals")
plt.title("Total Medals by Country")
plt.legend()
plt.show()
elif line_chart_ch==2:
gold_medals=df[df["Medal"]=="Gold Medal"]

gold_medals_cnt=gold_medals["Country"].value_counts()
dt=int(input("Enter no. of records you want to
plot:"))
gold_medals_cnt=gold_medals_cnt.head(dt)

plt.plot(gold_medals_cnt.index,gold_medals_cnt,marker='o',color='Gold',
label='Gold')
plt.xlabel("Country")
plt.ylabel("Gold Medals")
plt.title("Total Gold Medals by Country")
plt.legend()
plt.show()
elif line_chart_ch==3:
silver_medals=df[df["Medal"]=="Silver Medal"]

silver_medals_cnt=silver_medals["Country"].value_counts()
dt=int(input("Enter no. of records you want to
plot:"))
silver_medals_cnt=silver_medals_cnt.head(dt)

plt.plot(silver_medals_cnt.index,silver_medals_cnt,marker='x',color='Si
lver',label='Silver')
plt.xlabel("Country")
plt.ylabel("Gold Medals")
plt.title("Total Gold Medals by Country")
plt.legend()
plt.show()
elif line_chart_ch==4:
bronze_medals=df[df["Medal"]=="Bronze Medal"]

bronze_medals_cnt=bronze_medals["Country"].value_counts()
dt=int(input("Enter no. of records you want to
plot:"))
bronze_medals_cnt=bronze_medals_cnt.head(dt)

17
plt.plot(bronze_medals_cnt.index,bronze_medals_cnt,marker='x',color='k'
,label='Bronze')
plt.xlabel("Country")
plt.ylabel("Bronze Medals")
plt.title("Total Gold Medals by Country")
plt.legend()
plt.show()
elif line_chart_ch==5:
c=input("Enter country to plot:")
medals=df[df["Country"]==c]
medals=medals.groupby("Medal").size()

plt.plot(medals.index,medals.values,marker='^',color='m',label='Medals'
)
plt.xlabel(c)
plt.ylabel("Number of Medals")
plt.title("Total Medals by Country")
plt.legend()
plt.show()
elif line_chart_ch==6:
medals=df.groupby("Event_type").size()

medals.plot(kind='line',marker='>',color='m',label='Medals')
plt.xlabel("Event Type")
plt.ylabel("Number of Medals")
plt.title("Medals by Event")
plt.legend()
plt.show()
elif line_chart_ch==7:
break
else:
print("Invalid Choice:")
elif vis_ch == 2:
print("\nYour Choices are:")
print("\t\t1. Top 10 countries")
print("\t\t2. Gold Medal")
print("\t\t3. Silver Medals")
print("\t\t4. Bronze Medals")
print("\t\t5. Speciifc Country")
print("\t\t6. Event wise")
print("\t\t7. Exit")
try:
bar_chart_ch = int(input("\nYour choice: "))
except ValueError:
print("Please enter a valid number.")
continue
if bar_chart_ch==1:

medals_tot=df["Country"].value_counts().head(10)
colors = ["blue", "red", "green", "purple",
"orange","cyan", "magenta", "yellow", "pink", "brown"]

plt.bar(medals_tot.index,medals_tot.values,color=colors,label='Medals')
plt.xlabel("Country")
plt.ylabel("Number of Medals")
plt.title("Total Medals by Country")
plt.legend()

18
plt.show()
elif bar_chart_ch==2:
gold_medals=df[df["Medal"]=="Gold Medal"]

gold_medals_cnt=gold_medals["Country"].value_counts()
dt=int(input("Enter no. of records you want to
plot:"))
clrs=n_colors(dt)
gold_medals_cnt=gold_medals_cnt.head(dt)

plt.bar(gold_medals_cnt.index,gold_medals_cnt,color=clrs,label='Gold')
plt.xlabel("Country")
plt.ylabel("Gold Medals")
plt.title("Total Gold Medals by Country")
plt.legend()
plt.show()
elif bar_chart_ch==3:
silver_medals=df[df["Medal"]=="Silver Medal"]

silver_medals_cnt=silver_medals["Country"].value_counts()
dt=int(input("Enter no. of records you want to
plot:"))
clrs=n_colors(dt)
silver_medals_cnt=silver_medals_cnt.head(dt)

plt.bar(silver_medals_cnt.index,silver_medals_cnt,color=clrs,label='Sil
ver')
plt.xlabel("Country")
plt.ylabel("Gold Medals")
plt.title("Total Gold Medals by Country")
plt.legend()
plt.show()
elif bar_chart_ch==4:
bronze_medals=df[df["Medal"]=="Bronze Medal"]

bronze_medals_cnt=bronze_medals["Country"].value_counts()
dt=int(input("Enter no. of records you want to
plot:"))
clrs=n_colors(dt)
bronze_medals_cnt=bronze_medals_cnt.head(dt)

plt.bar(bronze_medals_cnt.index,bronze_medals_cnt,color=clrs,label='Bro
nze')
plt.xlabel("Country")
plt.ylabel("Bronze Medals")
plt.title("Total Gold Medals by Country")
plt.legend()
plt.show()
elif bar_chart_ch==5:
c=input("Enter country to plot:")
medals=df[df["Country"]==c]
medals=medals.groupby("Medal").size()

plt.bar(medals.index,medals.values,color=['b','gold','silver'],label='M
edals')
plt.xlabel(c)
plt.ylabel("Number of Medals")
plt.title("Total Medals by Country")

19
plt.legend()
plt.show()
elif bar_chart_ch==6:
medals=df.groupby("Event_type").size()
medals.plot(kind='bar',label='Medals')
plt.xlabel("Event Type")
plt.ylabel("Number of Medals")
plt.title("Medals by Event")
plt.legend()
plt.show()
elif bar_chart_ch==7:
break
elif vis_ch==3:
medal_cnt=df["Medal"].value_counts()
plt.hist(medal_cnt.values, bins=len(medal_cnt),
color='skyblue', edgecolor='black', cumulative=True)
plt.show()
elif vis_ch == 4:
break
else:
print("Invalid choice! Please try again.")

elif ch == 4:
print("Thank you for using the program!")
break

else:
print("Invalid choice! Please try again.")

OUTPUT
20
runfile('C:/Users/ASUS/untitled1.py', wdir='C:/Users/ASUS')

--------------------------------------------------

OLYMPIC GAMES PARIS 2024 MEDALS ANALYSIS

--------------------------------------------------

**********************************************************************

1. Display Information

2. Modification

3. Visualization

4. Exit..

Enter Your Choice: 3

VISUALIZATION

Your Choices are:

1. Line Chart

2. Bar Graph

3. Histogram

4. Exit Visualization

Your choice: 1

Line Chart

Your Choices are:

1. Top 10 countries

2. Gold Medal

3. Silver Medals

4. Bronze Medals

5. Speciifc Country

6. Event wise

7. Exit

Your choice: 1

21
Your Choices are:

1. Top 10 countries

2. Gold Medal

3. Silver Medals

4. Bronze Medals

5. Speciifc Country

6. Event wise

7. Exit

Your choice: 2

Enter no. of records you want to plot:4

22
Your Choices are:

1. Top 10 countries

2. Gold Medal

3. Silver Medals

4. Bronze Medals

5. Speciifc Country

6. Event wise

7. Exit

Your choice: 7

Your Choices are:

1. Line Chart

2. Bar Graph

3. Histogram

4. Exit Visualization

Your choice: 2
Your Choices are:

1. Top 10 countries

2. Gold Medal

3. Silver Medals 23

4. Bronze Medals

5. Speciifc Country

6. Event wise

7. Exit

Your choice: 4

Enter no. of records you want to plot:6

Your Choices are:

1. Line Chart

2. Bar Graph

3. Histogram

4. Exit Visualization

Your choice: 4
25
SYSTEM IMPLEMENTATION

 Front end: Python3.8.2


 Back end: CSV (Comma-Separated Values) file named
medals.csv.
 Operating system: WINDOWS 10
 Minimum hardware and software requirements:
1. OS: X86 64-bit CPU (Intel/AMD architecture); 4 GB RAM;
5GB Free disk space.
2. Open-Source Software being used:
a) Spyder
b) MS Word
c) Excel
 Libraries Used:
a) pandas
b) matplotlib.pyplot
c) matplotlib.colors & cm

26
BIBLIOGRAPHY

1. https://www.python.org/doc/
2. https://pandas.pydata.org/docs/
3. https://matplotlib.org/stable/index.html
4. https://www.kaggle.com
5. Olympics Paris 2024 – Official Website. Retrieved from
https://olympics.com/en/olympic-games/paris-2024
6. https://www.w3schools.com/python/python_file_handling.asp
7. NCERT. Informatics Practices – Class XII Textbook. National Council of Educational
Research and Training, New Delhi.
8. Real Python. (2024). Working with CSV Files in Python. Retrieved from
https://realpython.com/python-csv/

27

You might also like