Foundation of Data Science: Unit V: Data Visualization

Two marks Questions with Answers

Data Visualization | Foundation of Data Science

Data visualization is the graphical representation of information and data.

Two Marks Questions with Answers

Q.1What is data visualization?

Ans. : Data visualization is the graphical representation of information and data.

Q.2 Which concept is used in data visualization?

Ans.: Data visualization based on two concepts:

        1. Each attribute of training data is visualized in a separate part of screen.

        2. Different class labels of training objects are represented by different colors.

Q.3 List the benefits of data visualization.

Ans.: • Constructing ways in absorbing information. Data visualization enables users to receive vast amounts of information regarding operational and business conditions.

       • Visualize relationships and patterns in businesses.

       • More collaboration and sharing of information.

        • More self-service functions for the end users.

Q.4 Why big data visualization is important?

 Ans. Reasons:

• It provides clear knowledge about patterns of data.

• Detects hidden structures in data.

• Identify areas that need to be improved.

• Help us to understand which products to place where.

• Clarify factors which influence human behaviour.

Q.5 Explain Matplotlib.

Ans. Matplotlib is a cross-platform, data visualization and graphical plotting library for Python and its numerical extension NumPy. Matplotlib is a comprehensive library for creating static, animated and interactive visualizations in Python. Matplotlib is a plotting library for the Python programming language. It allows to make quality charts in few lines of code. Most of the other python plotting library are build on top of Matplotlib.

Q.6 What is contour plot ?

Ans. A contour line or isoline of a function of two variables is a curve along which the function has a constant value. It is a cross-section of the three-dimensional graph of the function f(x, y) parallel to the x, y plane. Contour lines are used e.g. in geography and meteorology. In cartography, a contour line joins points of equal height above a given level, such as mean sea level.

Q.7 Explain legends.

Ans. Plot legends give meaning to a visualization, assigning labels to the various plot elements. Legends are found in maps describe the pictorial language or symbology of the map. Legends are used in line graphs to explain the function or the values underlying the different lines of the graph.

Q.8 What is subplots?

Ans. Subplots mean groups of axes that can exist in a single matplotlib figure. subplots() function in the matplotlib library, helps in creating multiple layouts of subplots. It provides control over all the individual plots that are created.

Q.9 What is use of tick?

Ans. A tick is a short line on an axis. For category axes, ticks separate each category. For value axes, ticks mark the major divisions and show the exact point on an axis that the axis label defines. Ticks are always the same color and line style as the axis.

• Ticks are the markers denoting data points on axes. Matplotlib's default tick locators and formatters are designed to be generally sufficient in many common situations. Position and labels of ticks can be explicitly mentioned to suit specific requirements.

Q.10 Describe in short Basemap.

Ans. •  Basemap is a toolkit under the Python visualization library Matplotlib. Its main function is to draw 2D maps, which are important for visualizing spatial data. Basemap itself does not do any plotting, but provides the ability to transform coordinates into one of 25 different map projections.

•  Matplotlib can also be used to plot contours, images, vectors, lines or points in transformed coordinates. Basemap includes the GSSH coastline dataset, as well as datasets from GMT for rivers, states and national boundaries.

Q.11 What is Seaborn?

Ans. : • Seaborn is a Python data visualization library based on Matplotlib. It provides a high-level interface for drawing attractive and informative statistical graphics. Seaborn is an opensource Python library.

• Its dataset-oriented, declarative API. User should focus on what the different elements of your plots mean, rather than on the details of how to draw them.

Foundation of Data Science: Unit V: Data Visualization : Tag: : Data Visualization | Foundation of Data Science - Two marks Questions with Answers