Data Visualisation — Quiz

Answer all 12 questions, then submit. You need 70% to pass. Log in to save progress.

Question 1
Which is the professional way to create a Matplotlib chart you fully control?
A plt.plot() only
B fig, ax = plt.subplots()
C plt.draw()
D chart()
Question 2
Seaborn is best described as…
A a database tool
B Matplotlib with beautiful defaults and one-line statistical plots
C a spreadsheet
D a web framework
Question 3
Which library is the go-to for INTERACTIVE charts (hover, zoom)?
A Matplotlib
B Plotly
C openpyxl
D NumPy
Question 4
To compare a value across several categories, the best default chart is a…
A pie chart
B bar chart
C scatter plot
D histogram
Question 5
To show a trend over time you should use a…
A pie chart
B line chart
C heatmap
D boxplot
Question 6
To show the relationship between two numeric variables, use a…
A bar chart
B scatter plot
C pie chart
D table
Question 7
Why are pie charts with many slices discouraged?
A They use too much ink
B Humans compare angles poorly; bars are clearer
C They are slow to render
D They cannot show percentages
Question 8
Which is a core visual-design principle?
A Add 3-D effects
B Maximise data-ink; remove chart-junk
C Use as many colours as possible
D Always start the axis above zero
Question 9
Truncating a bar chart's y-axis (not starting at zero) is bad because it…
A saves space
B exaggerates differences and misleads
C is required by Matplotlib
D improves accessibility
Question 10
Which is an accessibility best practice for charts?
A Rely on colour alone
B Use tiny fonts
C Do not depend on colour alone; use labels/patterns and colour-blind-safe palettes
D Use red and green together
Question 11
What does Streamlit let you build?
A A database
B An interactive web app/dashboard from a Python script
C A spreadsheet
D A machine-learning model
Question 12
How do you run a Streamlit app named app.py?
A python app.py
B streamlit run app.py
C run streamlit app.py
D flask run