Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 4 MCQsData Plotting and Visualization
ECAP792 ·
60 questions. Pick an option to check it.
Question 1 of 60 · Introduction to data visualization · Easy
What is the main purpose of data visualization?
Not quite. Try another option.
Answer: To present data graphically
Data visualization presents data through charts, graphs, and other visual forms to make information easier to understand.
Question 2 of 60 · Introduction to data visualization · Easy
Which benefit is commonly associated with data visualization?
Not quite. Try another option.
Answer: It reveals patterns and trends
Visualizations help people quickly recognize patterns, trends, relationships, and unusual values.
Question 3 of 60 · Introduction to data visualization · Easy
Who can use data visualizations to support decision-making?
Not quite. Try another option.
Answer: Analysts and decision-makers
Analysts and decision-makers use visualizations to understand evidence and communicate findings.
Question 4 of 60 · Visual encoding · Easy
What does visual encoding mean in data visualization?
Not quite. Try another option.
Answer: Mapping data to visual properties
Visual encoding maps data values to properties such as position, color, size, and shape.
Question 5 of 60 · Visual encoding · Easy
Which visual property is often used to distinguish categories?
Not quite. Try another option.
Answer: Color
Different colors can visually separate categories, such as products, regions, or departments.
Question 6 of 60 · Visual encoding · Easy
In a bubble chart, which visual property commonly represents a numerical value?
Not quite. Try another option.
Answer: Bubble size
The size or area of each bubble commonly encodes the magnitude of a numerical value.
Question 7 of 60 · Data visualization software · Easy
Which software is widely used to create interactive dashboards?
Not quite. Try another option.
Answer: Tableau
Tableau is data visualization software designed for creating interactive reports and dashboards.
Question 8 of 60 · Data visualization software · Easy
Which Microsoft product is designed for business intelligence and data visualization?
Not quite. Try another option.
Answer: Microsoft Power BI
Microsoft Power BI is a business intelligence platform for analyzing data and building visual reports.
Question 9 of 60 · Data visualization software · Easy
What is a dashboard in data visualization software?
Not quite. Try another option.
Answer: A collection of related visuals
A dashboard combines related charts, indicators, and filters in one view.
Question 10 of 60 · Data visualization libraries · Easy
Which Python library is commonly used for basic plotting?
Not quite. Try another option.
Answer: Matplotlib
Matplotlib is a widely used Python library for creating plots, charts, and figures.
Question 11 of 60 · Data visualization libraries · Easy
Which Python library provides high-level statistical visualizations and is built on Matplotlib?
Not quite. Try another option.
Answer: Seaborn
Seaborn builds on Matplotlib and offers convenient tools for statistical data visualization.
Question 12 of 60 · Data visualization libraries · Easy
Which JavaScript library is known for creating custom, web-based data visualizations?
Not quite. Try another option.
Answer: D3.js
D3.js is a JavaScript library used to create flexible and interactive visualizations for the web.
Question 13 of 60 · Basic data visualization tools · Easy
Which spreadsheet application can create basic charts from tabular data?
Not quite. Try another option.
Answer: Microsoft Excel
Microsoft Excel can create common charts such as bar, line, and pie charts from spreadsheet data.
Question 14 of 60 · Basic data visualization tools · Easy
Which feature is typically used to identify the meaning of colors or symbols in a chart?
Not quite. Try another option.
Answer: Legend
A legend explains what the colors, symbols, or patterns in a visualization represent.
Question 15 of 60 · Basic data visualization tools · Easy
Which chart element displays the measurement scale along an edge of a graph?
Not quite. Try another option.
Answer: Axis
An axis provides a scale and reference for interpreting values plotted in a graph.
Question 16 of 60 · Advanced data visualization tools · Easy
Which feature allows users to explore a visualization by selecting or filtering data?
Not quite. Try another option.
Answer: Interactivity
Interactivity lets users filter, select, zoom, or inspect data within a visualization.
Question 17 of 60 · Advanced data visualization tools · Easy
What does a tooltip commonly show in an interactive chart?
Not quite. Try another option.
Answer: Details about a selected point
A tooltip displays additional information when a user points to or selects a data mark.
Question 18 of 60 · Data visualization types · Easy
Which chart is most suitable for comparing values across categories?
Not quite. Try another option.
Answer: Bar chart
A bar chart uses bar lengths to make comparisons between categories clear.
Question 19 of 60 · Data visualization types · Easy
Which chart is commonly used to display a trend over time?
Not quite. Try another option.
Answer: Line chart
A line chart connects values in sequence, making changes and trends over time easy to see.
Question 20 of 60 · Data visualization types · Easy
Which visualization is commonly used to examine the relationship between two numerical variables?
Not quite. Try another option.
Answer: Scatter plot
A scatter plot places paired numerical values on two axes to show their relationship.
Question 21 of 60 · Introduction to data visualization · Medium
An analyst has a table containing daily website traffic for three years. What is the main benefit of visualizing the data before building a forecasting model?
Not quite. Try another option.
Answer: It reveals trends, cycles, and unusual observations
Visualization helps identify temporal patterns, seasonality, and anomalies that may affect model selection and preprocessing.
Question 22 of 60 · Introduction to data visualization · Medium
A bar chart comparing sales of four products starts its vertical axis at instead of . Sales range from to . What is the primary concern?
Not quite. Try another option.
Answer: The chart exaggerates small differences between products
A truncated axis can make small differences appear much larger, potentially misleading the viewer.
Question 23 of 60 · Visual encoding · Medium
Which visual encoding is generally most effective for comparing precise quantitative values across categories?
Not quite. Try another option.
Answer: Position along a common scale
People compare positions on a shared scale more accurately than areas, volumes, or color hues.
Question 24 of 60 · Visual encoding · Medium
A scatter plot already uses horizontal and vertical position for two quantitative variables. Which encoding is most appropriate for distinguishing four unordered customer segments?
Not quite. Try another option.
Answer: Different color hues
Distinct hues effectively represent nominal categories because they separate groups without implying an order.
Question 25 of 60 · Visual encoding · Medium
In a bubble chart, population is represented by circle size. If City B has four times the population of City A, how should their circles be scaled?
Not quite. Try another option.
Answer: City B should have four times the area
Quantitative values in bubble charts should be proportional to circle area, not radius or diameter.
Question 26 of 60 · Data visualization software · Medium
A business analyst with limited programming experience must combine database data and create an interactive dashboard with filters. Which tool is most suitable?
Not quite. Try another option.
Answer: Tableau
Tableau supports database connections and interactive dashboard creation through a largely visual interface.
Question 27 of 60 · Data visualization software · Medium
An organization primarily uses Microsoft 365 and needs dashboards with scheduled refreshes and role-based sharing. Which software best fits this environment?
Not quite. Try another option.
Answer: Power BI
Power BI integrates closely with Microsoft services and supports scheduled refreshes, sharing, and access controls.
Question 28 of 60 · Data visualization libraries · Medium
A Python developer needs detailed control over axes, annotations, and export settings for a static publication figure. Which library is the best starting point?
Not quite. Try another option.
Answer: Matplotlib
Matplotlib provides fine-grained control over static plots, including axes, annotations, layouts, and export formats.
Question 29 of 60 · Data visualization libraries · Medium
A data scientist wants to compare score distributions across departments using concise Python code and visually appealing statistical defaults. Which library is most appropriate?
Not quite. Try another option.
Answer: Seaborn
Seaborn offers high-level statistical visualizations and integrates directly with pandas-style tabular data.
Question 30 of 60 · Data visualization libraries · Medium
A web report requires a Python-generated scatter plot with zooming, panning, and hover tooltips. Which library is most suitable?
Not quite. Try another option.
Answer: Plotly
Plotly is designed for interactive visualizations with built-in zoom, pan, selection, and hover behavior.
Question 31 of 60 · Basic data visualization tools · Medium
A manager wants to compare total quarterly revenue across six product categories. Which basic chart is most appropriate?
Not quite. Try another option.
Answer: Bar chart
A bar chart supports direct comparison of numerical totals across discrete categories.
Question 32 of 60 · Basic data visualization tools · Medium
A histogram of customer ages looks highly irregular because it contains 100 bins for only 200 observations. What is the best adjustment?
Not quite. Try another option.
Answer: Use fewer, wider bins
With limited observations, too many bins create a noisy histogram. Fewer, wider bins better reveal the distribution.
Question 33 of 60 · Basic data visualization tools · Medium
Which chart should be used to examine whether advertising expenditure is associated with sales revenue across 80 stores?
Not quite. Try another option.
Answer: Scatter plot
A scatter plot displays paired quantitative values and helps reveal association, clusters, and outliers.
Question 34 of 60 · Data visualization types · Medium
A company wants to display monthly electricity consumption over five consecutive years. Which visualization type best emphasizes change over time?
Not quite. Try another option.
Answer: Line chart
A line chart preserves chronological order and clearly displays trends, cycles, and changes over time.
Question 35 of 60 · Advanced data visualization tools · Medium
A single scatter plot becomes cluttered when points from twelve regions overlap. Which technique best supports regional comparison while preserving the same axes?
Not quite. Try another option.
Answer: Create small multiples by region
Small multiples divide the data into consistent panels, reducing clutter while enabling comparison across regions.
Question 36 of 60 · Advanced data visualization tools · Medium
An analyst wants to inspect correlations among 25 numerical variables before feature selection. Which visualization is most appropriate?
Not quite. Try another option.
Answer: Correlation heatmap
A correlation heatmap compactly encodes pairwise correlation values using color, making strong relationships easier to identify.
Question 37 of 60 · Data visualization types · Medium
A public-health analyst maps disease cases by county, but county populations vary greatly. Which value should be encoded in a choropleth map?
Not quite. Try another option.
Answer: Cases per 100,000 residents
A normalized rate enables fair comparison between counties with different population sizes.
Question 38 of 60 · Data visualization types · Medium
A researcher needs to compare medians, variability, and potential outliers in salaries across five departments. Which visualization type is most suitable?
Not quite. Try another option.
Answer: Box plot
A box plot summarizes the median, quartiles, spread, and potential outliers for each department.
Question 39 of 60 · Data visualization types · Medium
A logistics analyst wants to show how shipment volume moves from factories to warehouses and then to stores. Which visualization type is most appropriate?
Not quite. Try another option.
Answer: Sankey diagram
A Sankey diagram represents flows between stages, with connection width encoding the amount transferred.
Question 40 of 60 · Advanced data visualization tools · Medium
An analyst needs to explore individual cars using fuel economy, price, horsepower, weight, and emissions simultaneously. Which advanced visualization is most suitable?
Not quite. Try another option.
Answer: Parallel coordinates plot
A parallel coordinates plot displays each record across several quantitative axes, supporting multivariate pattern exploration.
Question 41 of 60 · Visual encoding · Hard
Seven algorithms receive ordinal performance ratings from 1 to 7. The main task is detecting small differences between algorithms. Which encoding best supports this task?
Not quite. Try another option.
Answer: Position along a shared axis in an aligned dot plot
Position on a common scale supports more accurate comparisons than area, hue, or angle, especially when differences are small.
Question 42 of 60 · Visual encoding · Hard
A bubble chart must encode values using circle area. Which radius function produces areas proportional to the values?
Not quite. Try another option.
Answer:
Because circle area is , setting makes , which is proportional to the value.
Question 43 of 60 · Visual encoding · Hard
A map displays signed deviations from a policy target, ranging from to , with zero having substantive meaning. Which color strategy is most appropriate?
Not quite. Try another option.
Answer: A perceptually uniform diverging scale with a neutral color at zero
A diverging scale emphasizes direction and magnitude around a meaningful midpoint, while perceptual uniformity reduces visual distortion.
Question 44 of 60 · Visual encoding · Hard
A line chart must remain interpretable for viewers with color-vision deficiencies and when printed in grayscale. Which design is most robust?
Not quite. Try another option.
Answer: Combine distinguishable line styles with direct endpoint labels
Redundant encoding through line style and direct labels preserves identification without relying exclusively on color.
Question 45 of 60 · Introduction to data visualization · Hard
An overall outcome rises over time even though it falls within every demographic subgroup because subgroup proportions change. Which visualization most directly exposes the mechanism?
Not quite. Try another option.
Answer: Aligned subgroup trends paired with subgroup-proportion trends
Showing both within-subgroup trends and changing subgroup composition reveals the structure responsible for Simpson's paradox.
Question 46 of 60 · Introduction to data visualization · Hard
A quantity increases from 40 to 60, while its graphical bar length increases from 2 cm to 8 cm. Using the lie factor , what is ?
Not quite. Try another option.
Answer:
The graphical change is , while the data change is . Therefore, .
Question 47 of 60 · Introduction to data visualization · Hard
A dashboard shows a model estimate as a precise line even though uncertainty grows sharply near the domain boundaries. Which revision best prevents overconfident interpretation?
Not quite. Try another option.
Answer: Add an interval band and distinguish extrapolated regions visually
An interval communicates uncertainty, while marking extrapolated regions warns that boundary estimates rely on weaker support.
Question 48 of 60 · Data visualization software · Hard
An organization needs governed dashboards with row-level security and hourly updates, but direct dashboard queries overload its transactional database. Which architecture best fits?
Not quite. Try another option.
Answer: An imported semantic model with incremental refresh and enforced security
A governed imported model reduces source-system load, supports scheduled updates, and can enforce centralized row-level security.
Question 49 of 60 · Data visualization software · Hard
A team wants reviewable visualization specifications that declare mappings, transformations, and interactions and can be compiled to web graphics. Which software model best matches?
Not quite. Try another option.
Answer: Declarative grammar specifications compiled by a rendering engine
Declarative systems such as Vega-Lite describe what mappings and interactions mean, leaving rendering details to the compiler.
Question 50 of 60 · Data visualization libraries · Hard
Four Matplotlib heatmaps must use identical colors for identical values, although each matrix has a different local range. What is the essential implementation choice?
Not quite. Try another option.
Answer: Share one normalization range and one corresponding colorbar
A shared normalization maps equal values to equal colors across panels; independent normalization would make cross-panel color comparisons invalid.
Question 51 of 60 · Data visualization libraries · Hard
A Seaborn line plot contains repeated measurements from many subjects. The default mean line hides heterogeneous individual trajectories. Which change best reveals those trajectories?
Not quite. Try another option.
Answer: Specify subject identifiers as units and disable the estimator
Using subject-level units with estimator=None draws separate trajectories rather than collapsing observations into an aggregate line.
Question 52 of 60 · Advanced data visualization tools · Hard
A browser dashboard must display the changing density of 50 million GPS points during zooming; individual-point hover is unnecessary. Which approach is most scalable?
Not quite. Try another option.
Answer: Rasterize server-side or GPU-aggregate points at the current viewport
Viewport-aware rasterization or GPU aggregation bounds rendering work by pixels or bins rather than by the full number of observations.
Question 53 of 60 · Basic data visualization tools · Hard
Two groups must be compared with histograms, but their sample ranges differ and the apparent conclusion changes when bin origins shift. Which design gives the most defensible comparison?
Not quite. Try another option.
Answer: Use shared, explicitly reported bin edges and sensitivity checks
Shared edges make bar heights comparable, while sensitivity checks reveal whether the conclusion depends excessively on bin placement.
Question 54 of 60 · Basic data visualization tools · Hard
Two continuous distributions have similar centers but may differ in their upper tails. The analyst wants a comparison without choosing histogram bins or kernel bandwidths. Which plot is best?
Not quite. Try another option.
Answer: Overlaid empirical cumulative distribution functions
ECDFs display the full distributions without binning or bandwidth selection and make tail-probability differences directly visible.
Question 55 of 60 · Data visualization types · Hard
A scatterplot of two continuous variables contains 800,000 observations, causing severe overplotting. The goal is to compare local observation counts rather than individual records. Which type is most suitable?
Not quite. Try another option.
Answer: A hexagonal-binned count plot with a sequential color scale
Hexagonal binning aggregates dense observations spatially and encodes local counts without requiring every record to remain visible.
Question 56 of 60 · Advanced data visualization tools · Hard
In a coordinated multiple-view system, selecting points in a scatterplot must highlight the same records after another view is sorted or filtered. What implementation is required?
Not quite. Try another option.
Answer: Propagate stable record identifiers through every transformation
Stable identifiers preserve record identity across sorting, filtering, and layout changes, enabling correct brushing and linking.
Question 57 of 60 · Data visualization types · Hard
A parallel-coordinates plot compares variables measured in dollars, percentages, and milliseconds. One high-variance variable visually dominates all others. Which preprocessing is most appropriate?
Not quite. Try another option.
Answer: Normalize each axis comparably while retaining units in labels
Comparable axis normalization prevents large numerical ranges from dominating, while labels preserve the interpretation of original units.
Question 58 of 60 · Data visualization types · Hard
A choropleth maps reported disease case counts by county. Large-population counties appear most severe even when individual risk is low. Which revision addresses the primary confounder?
Not quite. Try another option.
Answer: Map population-standardized rates and disclose unstable denominators
Rates account for population exposure, while identifying small or unstable denominators prevents unreliable rates from appearing equally certain.
Question 59 of 60 · Data visualization types · Hard
A bootstrap distribution for an estimator is strongly right-skewed. Which visualization communicates its uncertainty without incorrectly imposing symmetry?
Not quite. Try another option.
Answer: A bootstrap density with marked quantile-based interval endpoints
The bootstrap density displays skewness directly, and quantile endpoints preserve asymmetric uncertainty instead of forcing a symmetric interval.
Question 60 of 60 · Advanced data visualization tools · Hard
A rasterized density visualization aggregates records into one value per pixel. Which analytical limitation must be considered when interpreting a low-intensity region?
Not quite. Try another option.
Answer: Aggregation may conceal sparse subgroups within dominant local counts
Pixel aggregation improves scalability but can hide rare categories or individual outliers unless separate category-aware views or inspections are provided.
That's unit 4
Answer a few questions and your score shows up here.
Nearly through. Did unit 4 of ECAP792 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 4 of ECAP792 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.