Graded Quiz: Basic and Specialized Visualization Tools :Data Visualization with Python (Applied Data Science Specialization) Answers 2025
1. Question 1
A scatter plot displays values for two variables.
-
✅ True
-
❌ False
Explanation:
Scatter plots map x vs y to visualize relationships between two variables.
2. Question 2
Which Matplotlib module allows quick plotting?
-
❌ Folium
-
✅ Pyplot
-
❌ Numpy
-
❌ Plotly
Explanation:matplotlib.pyplot is the main interface for fast plotting.
3. Question 3
A pie chart is a circular graphic divided into segments.
-
❌ False
-
✅ True
Explanation:
Pie charts show category proportions.
4. Question 4
A box plot has five key statistical measures.
-
❌ False
-
✅ True
Explanation:
Boxplots show min, Q1, median, Q3, max (+ outliers).
5. Question 5
Area plots are similar to:
-
❌ Area
-
❌ Bar
-
❌ Box
-
✅ Line
Explanation:
Area plots are essentially filled line plots.
6. Question 6
Letters in box plot represent:
-
❌ Mean… (incorrect)
-
✅ A = Median, B = Third Quartile, C = First Quartile, D = Inter Quartile Range, E = Minimum, and F = Outliers
-
❌ Median + mean mix (incorrect)
-
❌ Mean-based interpretation (incorrect)
Explanation:
A box plot highlights quartiles, IQR, whiskers, and outliers.
7. Question 7
Function + parameter for a boxplot?
-
❌ plot with type
-
❌ plot with kind=”boxplot”
-
❌ boxplot with type=”plot”
-
✅ Function = plot, Parameter = kind with value = “box”
Explanation:
Using pandas plotting:df.plot(kind="box") generates a box plot.
8. Question 8
First step in creating a histogram?
-
✅ Import matplotlib as mpl and its scripting interface as plt.
-
❌ Other wrong combinations
Explanation:
Usually:
import matplotlib as mpl
import matplotlib.pyplot as plt
9. Question 9
Process of creating a scatter plot?
-
❌ Importing Matplotlib to visualize large data
-
❌ Importing datapoints alone
-
❌ Importing dataset library
-
✅ The process of creating a scatter plot involves importing Matplotlib to visualize a large set of data.
Explanation:
Scatter plots require Matplotlib for visualization.
10. Question 10
A bar chart is also known as a:
-
✅ Bar graph
-
❌ Bar plot
-
❌ Pyplot
-
❌ Histogram
Explanation:
“Bar graph” is the common alternate name.
🧾 SUMMARY TABLE
| Q | Correct Answer | Key Concept |
|---|---|---|
| 1 | True | Scatter plot basics |
| 2 | Pyplot | Matplotlib interface |
| 3 | True | Pie chart definition |
| 4 | True | Box plot statistics |
| 5 | Line | Area vs line plot |
| 6 | A=Median, B=Q3, C=Q1, D=IQR, E=Min, F=Outliers | Box plot anatomy |
| 7 | plot(kind=”box”) | Boxplot creation |
| 8 | Import Matplotlib & Pyplot | Histogram setup |
| 9 | Import Matplotlib to visualize | Scatter plot process |
| 10 | Bar graph | Bar chart terminology |