Graded Quiz: Creating Dashboards with Plotly and Dash:Data Visualization with Python (IBM Data Analyst Professional Certificate)Answers 2025
1. Question 1
Where can Plotly web-based visualizations be displayed?
-
❌ Python
-
✅ Jupyter notebook
-
❌ Matplotlib
-
❌ Dash
Explanation:
Plotly renders interactive charts directly in Jupyter Notebook, browsers, or Dash apps.
2. Question 2
Plotly graph objects module provides an automatically generated hierarchy of classes.
-
✅ True
-
❌ False
Explanation:plotly.graph_objects is the low-level figure/traces/layout interface.
3. Question 3
Which Plotly.graph object has a dictionary structure?
-
❌ Plotly
-
❌ Graph
-
✅ Figure
-
❌ JSON
Explanation:
A Plotly Figure behaves like a dictionary (JSON-like).
4. Question 4
Real-time visuals help business comprehension.
-
✅ True
-
❌ False
Explanation:
Dashboards improve understanding through live updates.
5. Question 5
A comprehensive library for static, animated, interactive visualizations:
-
❌ Dash
-
❌ JSON
-
❌ Matplotlib
-
✅ Plotly
Explanation:
Plotly supports static, animated, and interactive visuals.
6. Question 6
Data can be presented by using different types of _________.
-
❌ Python
-
❌ Dashboards
-
❌ Coding languages
-
✅ JSON
Explanation:
Plotly data structures rely heavily on JSON formats.
7. Question 7
_____ Express is a high-level wrapper for Plotly.
-
❌ Matplotlib
-
✅ Plotly
-
❌ Python
-
❌ JSON
Explanation:
Plotly Express = high-level interface built on top of Plotly.
8. Question 8
A callback function is a decorator.
-
❌ False
-
✅ True
Explanation:
Dash callback functions are decorated with @app.callback.
9. Question 9
Dash is an open-source UI Python library for creating reactive ________.
-
❌ Graphs
-
❌ Code
-
✅ Web-based applications
-
❌ Data
Explanation:
Dash builds fully interactive web apps.
10. Question 10
Output sets results returned from callback function to a component id.
-
❌ False
-
✅ True
Explanation:
Dash Output(component_id, property) receives callback returns.
🧾 SUMMARY TABLE
| Q | Correct Answer | Key Concept |
|---|---|---|
| 1 | Jupyter notebook | Plotly display |
| 2 | True | Plotly graph objects |
| 3 | Figure | Dict-like structure |
| 4 | True | Value of real-time visuals |
| 5 | Plotly | Visualization library |
| 6 | JSON | Data presentation |
| 7 | Plotly (Express) | High-level wrapper |
| 8 | True | Callback decorators |
| 9 | Web-based applications | Dash purpose |
| 10 | True | Output mapping |