XII-DataVisualization
XII-DataVisualization
By:
Shabana Anvar (email : [email protected])
Bhavan’s Public School, Doha
”Data Visualization” basically refers to the graphical or visual
representation of data using visual elements like chart, graph and
map etc.
Its main goal is to distill large datasets into visual graphics to allow
for easy understanding of complex relationships within the data.
• Better analysis
• Quick action
• Identifying patterns
• Finding errors
• Understanding the story
• Exploring business insights
• Grasping the Latest Trends
Matplotlib is the whole python package/ library used to create 2D graphs
and plots by using python.
For example, calling plot from pyplot will automatically create the necessary figure and axes
to achieve the desired plot. Setting a title will then automatically set that title to the current
axes object
Matplotlib – pyplot features
Following features are provided in matplotlib library for data
visualization.
• Drawing – plots can be drawn based on passed data through
specific functions.
• Customization – plots can be customized as per requirement after
specifying it in the arguments of the functions.Like color, style
(dashed, dotted), width; adding label, title, and legend in plots can
be customized.
• Saving – After drawing and customization plots can be saved for
future use.
TYPES OF PLOT USING MATPLOTLIB
• LINE PLOT
• BAR GRAPH
• HISTOGRAM
• PIE CHART
• FREQUENCY POLYGON
• BOX PLOT
• SCATTER PLOT
A line chart or line graph is a type of chart which
displays information as a series of data points called ‘markers’
connected by straight line segments.