Data Visualization for Beginners: Choosing the Right Graph for Your Data

A student is asked to present data from a fictional online learning programme. The data include student counts by study level, weekly learning sessions, assessment scores, devices and study habits. The student creates a pie chart for every question: another pie for weekly activity, another pie for assessment scores and even one for study hours versus marks. The charts are colourful, but most of them answer the wrong question. Choosing the right graph begins with understanding the data and what a reader needs to learn—not choosing an attractive shape from a software menu.

In this data visualization for beginners guide, you will decide when to use bars, line graphs, histograms, scatter plots, box plots, dot plots, heatmaps, stacked charts, pie charts and other useful visualizations. You will also learn to recognize misleading axes, calculate denominators, explain uncertainty, distinguish events from unique people and create charts that remain readable on smaller screens. Each main graph is illustrated using original, mathematically checked data rather than decorative examples disconnected from the numbers.

The practical project contains 240 unique fictional student profiles and 720 learning activity events across twelve consecutive weeks, with a third, twelve-row summary derived directly from the events. You will find an Excel workbook, Google Sheets-compatible workbook, executed Python notebook, a chart-selection guide, worked mistakes and corrections, a ten-task capstone and exactly 30 practice questions with expandable answers. The platform, students and all numerical outcomes are synthetic; the results make no claim about a real school or examination population.

Start with the question. Compare categories → bar. Follow time → line. Explore a numeric distribution → histogram or box. Investigate two numeric variables → scatter. Show a valid part-to-whole → simple bar, 100% stacked bar or carefully constructed pie. Then check accuracy, accessibility, aggregation and the limits of interpretation.

What is data visualization?

Data visualization is the graphical presentation of values, summaries or relationships to help people explore evidence, understand patterns and communicate findings. A chart, graph or plot uses visual encodings such as position, length, colour, area or shape. An axis provides a scale; a data point represents an observation or summary; a legend explains series; and a caption supplies context, source and limitations. Charts assist reasoning, but they cannot repair flawed source records or prove a claim beyond the research design.

The main benefits are practical: visually compare groups, identify a time trend, discover unusually high or low values, understand spread, investigate potential relationships and communicate findings succinctly. Good graphs often reveal questions for further analysis, not settled answers. For example, a scatter plot may suggest higher scores among students reporting more study hours, but that association could reflect other factors, measurement error or the synthetic generation mechanism. A display should be treated as evidence to examine, not an automatic causal conclusion.

Know your data type before choosing a chart

Data typeExamples in this lessonUsually helpful visualization
Nominal categoricalDeviceType, SubjectArea, ResourceTypeBar, grouped bar, dot
Ordinal categoricalLow / medium / high ordered categoriesOrdered bar or dot
Discrete numericalSession counts, completed tasksDot, columns, suitable histogram
Continuous numericalStudy hours, assessment measurementHistogram, scatter, box
TemporalWeekStartDate, ActivityDateLine or chronological columns
SpatialVerified coordinates or geographical boundariesMap, only with valid geography

A variable can be a category, a count, a measurement or a date. Study levels A, B and C are categories; they should not be presented as continuous points along an invented numerical axis. The number of learning events is a count; study duration is a measurement; a week-start date indicates ordered time. A coded category such as “1 = Laptop, 2 = Smartphone” remains categorical even though integers are stored. A correct chart starts by recognizing this semantic meaning, not merely the database column’s file format.

Ask what analytical message matters

Chart-selection guides such as the Financial Times Visual Vocabulary and Datawrapper’s chart-type guide organize choices by analytical purpose. Common purposes include comparison (which group has more?), ranking (which is highest?), change over time (what happened each week?), distribution (where do scores cluster?), relationship (do hours and scores vary together?), part-to-whole (what share belongs to each group?), and deviation (how far from a target?). Spatial patterns and flows have additional requirements. These groupings are useful starting points, not absolute rules.

Chart-selection decision diagram matching comparison, time, distribution and relationship to recommended graphs.
Figure 1. Identify the question first; then select an encoding that can answer it.

Quick graph-selection table

QuestionGood starting pointMain caution
Compare separate categoriesBar or category dot plotZero baseline for ordinary bars
Rank many groupsSorted horizontal barsKeep labels readable
Trace activity by dateLine or dated column chartPreserve time order and missing weeks
Describe numeric spreadHistogram or box plotExplain bins or quartile convention
Inspect individual small dataset valuesDot/strip plotDon’t hide repeats
Compare two numerical variablesScatter plotAssociation is not causation
Show exclusive part-to-wholeBar, stacked, occasionally pieShares must represent one legitimate whole
Compare two moments per groupSlope or dumbbellBefore-after is not necessarily causal
Compare values across two categorical dimensionsHeatmapState the numerical meaning of colour
Show a few exact valuesA well-labelled tableA chart may be unnecessary

Bar charts: comparing categorical quantities

A bar chart compares one measure across distinct categories. Our 240 fictional student profiles include 120 Level A, 72 Level B and 48 Level C students. A vertical column chart puts the categorical study levels along one axis and the number of unique students on the quantitative axis. Its bars have separate positions, consistent widths and a meaningful zero baseline. Level A is the largest group, and its 120 students are 72 more than Level C’s 48. Because the bar’s length communicates magnitude, starting the quantitative axis at a high nonzero value can strongly distort this comparison.

Zero-baseline category bar chart showing 120, 72 and 48 students.
Figure 2. A straightforward bar chart makes categorical magnitude comparisons clear.

Horizontal versus vertical bars

Both orientations can be correct. Vertical bars work well when categories have short labels and the count axis is clearly visible. Horizontal bars are often more legible for long subject names, ranked lists and narrow screens because full labels fit down the side. Use an order that serves the question: descending for a ranking or a meaningful natural order when the order itself matters. Our original counts do not change between orientations; only the presentation changes. Avoid unnecessary 3D effects, perspective, shadows or category colouring that distracts from the actual magnitude.

Horizontal bars compare the same 120, 72 and 48 counts.
Figure 3. Horizontal bars can improve label readability without changing the source numbers.

Grouped bars and stacked bars

A grouped bar chart shows several categories side by side within each larger group. For example, one bar group can compare preferred video lessons, quizzes, reading notes and interactive labs within study Level A, with equivalent groups for Levels B and C. Every count in the illustration comes from the 240-row Student Profiles table. Use a stable colour-to-series mapping and a shared quantitative scale. Grouped bars become difficult to read if they include too many combinations; a heatmap or small multiples may be more effective in a dense matrix.

Grouped bars of preferred learning resources within levels A B and C from the generated data.
Figure 4. Paired categories can be compared directly, but watch clutter as the series count grows.

A stacked bar represents category parts contributing to each group’s total. In absolute stacked bars, the overall bar length can communicate total size and the segments show components. In 100% stacked bars, every bar is equally long and its segments represent shares of each group’s own total. That makes compositions comparable, but hides that Level A contains 120 students and Level C contains only 48. Always state denominators and avoid suggesting that equal 100% bar lengths mean equal numbers of people.

Percentage-stacked resource preference composition across three study levels with different denominators.
Figure 5. A normalized stacked chart requires explicit group sizes alongside percentages.

Pie charts and donut charts: appropriate but limited

A pie chart can communicate a small number of mutually exclusive parts making up one whole. Our study levels provide a valid example: Level A = 50%, Level B = 30%, and Level C = 20%, summing to exactly 100%. The slices must be computed from the same 240 unique profiles. A pie can quickly communicate that A is about half the whole, but readers generally find small angle differences harder to compare than aligned bar lengths. If there are many categories or precision matters, a bar chart is often clearer.

Accurate pie chart showing Level A half, B thirty percent, C twenty percent.
Figure 6. Pie slices make sense here because each student belongs to exactly one study level.

Do not force overlapping or multiple-response categories into a single pie: if a survey allows one student to select both videos and quizzes, the percentages may sum to more than 100% because they describe overlapping sets. A pie of those responses would suggest a false mutually exclusive whole. Donut charts share many of the same constraints as pies; the empty centre does not solve the angle-comparison problem. Labels should be readable and the title should name the denominator rather than simply saying “Resource Usage.”

Line graphs: show activity change across time

A line chart traces measurements across an ordered time axis. The activity dataset contains 720 learning-resource interactions spread over twelve consecutive weeks, starting 3 August 2026. Our derived summary counts 45, 51, 56, 60, 57, 63, 70, 54, 64, 68, 62 and 70 events, which add to 720. These counts are interactions, not unique learners: one student may contribute several events in the same week. Dates must be parsed and sorted chronologically. A connecting line illustrates the change between recorded period totals; it does not assert that intermediate calendar dates were individually measured.

Twelve chronologically ordered weekly interaction counts, totaling 720 synthetic activity events.
Figure 7. An event trend answers a different question from how many unique students were active.

Line graphs are useful for emphasizing trajectories, seasonal changes, peaks and dips. However, a single rise does not establish why it occurred, and choosing a short start date can create misleading impressions of long-term progress. Label whether a series represents totals, rates or averages; use comparable durations; and include genuinely missing periods as gaps or disclosed missing values rather than silently connecting observations as if nothing were missing. Period columns may be a better choice when students should compare several discrete monthly totals rather than think about continuity.

Worked four-month example: line versus columns

Consider a separate fictional website with visits of 120 in January, 150 in February, 135 in March and 195 in April. The four-month total is 600 visits, the January-to-April difference is +75, and the relative increase from January to April is (195−120)/120×100 = 62.5%. Yet it is false to say visits increased every month: March fell by 15 from February. A line makes the dip visible as a change in direction, while columns emphasize the four individual period totals. Both are defensible if the title and units are accurate; these four values are not drawn from the separate twelve-week learning dataset.

Separate fictional visits January 120 February 150 March 135 April 195 as chronological line.
Figure 8. Overall positive change does not mean every interval increased.
Same four monthly fictional visits shown as individual period columns.
Figure 9. Period columns highlight absolute month-by-month totals using the same numbers.

Histograms: numerical distributions rather than categories

A histogram groups observations of a numerical variable into adjacent bins and displays frequency, relative frequency or density. For eight separate fictional scores 60, 65, 70, 70, 75, 80, 85 and 95, the half-open intervals [60,70), [70,80), [80,90) and [90,100) contain 2, 3, 2 and 1 observations. A score exactly equal to 70 belongs in the bin beginning at 70, not the preceding bin. The four frequencies add to eight, which is a valuable quick quality check.

Histogram of eight scores with equal width bins and verified frequencies two three two one.
Figure 10. Histogram bins represent ordered numeric ranges; boundaries and units matter.

The bin width changes the appearance of a histogram. A broad bin can conceal two clusters, while narrow bins can exaggerate irregularities in small samples. If widths differ, properly normalized density heights must make bar area, not merely height, represent the desired frequency or probability. Histograms are exploratory summaries, not proof of an assumed normal distribution. For eight numbers the plot is especially sensitive to bin choice; it should not be used to make confident claims about a larger population’s distribution.

Bar chart versus histogram: the essential difference

A bar chart compares separate named categories such as Level A, B and C; its category order can often be changed without altering the quantities. A histogram places numeric intervals along a quantitative axis in their natural order, and adjacent bars reflect neighboring ranges of the underlying scale. Bar widths in a histogram may convey interval widths, making a consistent density treatment especially important if bin widths differ. A zero-baseline convention is central to ordinary bar-length comparison; a histogram’s bars represent frequency or density and need appropriate quantitative scaling.

Side-by-side bar chart for student categories and histogram for eight score observations.
Figure 11. These graph types may use rectangular marks, but answer different questions.

Scatter plots: investigate two numerical variables

A scatter plot places one point for each valid pair of numerical measurements. Our Student Profiles dataset contains 240 pairs of weekly study hours and assessment scores. With hours on X and score on Y, the computed Pearson correlation is approximately r=+0.4859, indicating a moderate positive linear association in this deliberately generated example. The descriptive fitted line is a model estimate and is not an observed data series. Points that form curves, separated clusters or isolated outliers may suggest that a single straight-line summary is incomplete.

Scatter plot of 240 paired study hour and score records with a descriptive fitted line and correlation around 0.486.
Figure 12. Positive association does not prove that additional study hours caused higher marks.

Use transparency for overlapping points, consistent scales and meaningful axis labels. If values were recorded with rounding, small display-only jitter can uncover overlapping observations, but the true coordinates must remain available and the jitter should be explained. A trend line should not be added merely to decorate the graph. The Correlation vs. Causation lesson explains why association is not a causal effect, and Linear Regression provides the detailed mathematics of a fitted line.

Box plots: compare centre, spread and potential outliers

A box plot summarizes numerical observations using a median, lower quartile Q1, upper quartile Q3 and the interquartile range IQR=Q3−Q1. The box extends between the quartiles, with the median drawn inside. In our Matplotlib illustration the whiskers extend to the most extreme observations within 1.5×IQR of the corresponding quartile; points beyond are displayed separately as potential outliers. Other programs can use different quartile interpolation and whisker rules, so the chart method should be documented rather than implied to be universal.

Assessment score box plots by Level A B C using Matplotlib quartiles and Tukey 1.5 IQR whiskers.
Figure 13. Compare summary distributions by level; the boxes do not show every score.

A box plot helps compare centres and spread across groups, but it can conceal multimodal patterns or small subgroup details. Consider supplementing it with dots, histograms or a table when the number of observations is small or unusual patterns matter. Visually different medians do not automatically imply a statistically significant difference, and a whisker outside the box is not automatically a measurement error. Investigate questionable observations before removing them.

Dot and strip plots: display individual observations

A dot plot can show each observation directly, making it particularly helpful with a small dataset. The eight-score example includes 70 twice, so two dots can stack above that value. Unlike the histogram, readers can recover each recorded score rather than only its interval frequency. Strip plots extend the same idea to numerical measurements within categories; jitter may reveal overlap but should not be mistaken for changed values. For a dataset of hundreds of points, transparency or a distribution summary may be more readable than trying to label every dot.

Dot plot of eight actual observations including two scores at 70.
Figure 14. Individual data points are visible, including duplicates.

Heatmaps: a two-dimensional value grid

A heatmap uses colour intensity or colour categories to encode values across a matrix. Our example cross-tabulates learning-resource type against subject area from the 720 synthetic activity events. Each cell is the count of events in that particular resource-and-subject combination; it is not a correlation coefficient or a unique-student count. The chart includes actual cell counts and a labelled colour scale so the reader is not forced to infer exact values from hue. Use an ordered sequential palette for counts, and consider a simpler grouped bar chart when only a few categories need precise comparison.

Heatmap of actual learning event counts by resource type and subject, with exact printed cells and color scale.
Figure 15. A heatmap must identify whether its colour represents counts, rates, means or correlations.

Slope charts, dumbbell plots and small multiples

A slope chart connects two measurements per group, emphasizing direction and size of change. A dumbbell plot often uses a line between two marked values on a shared quantitative axis. Both can communicate before-versus-after comparisons more efficiently than crowded grouped bars. The slope illustration uses separate explicitly fictional group summary values unrelated to the 240-row student dataset; it must not be presented as an actual intervention study. Even in real studies, before-and-after change does not by itself identify the cause of a difference.

Illustrative slope chart connecting before and after group means for three fictional groups.
Figure 16. Two-point comparisons are descriptive until the research design supports stronger conclusions.

Small multiples repeat the same chart design for separate subgroups. Instead of putting all activity lines in one crowded frame, we create one mini line plot for each study level using the event records joined to the profile table by StudentCode. Consistent time axes and quantitative limits make direct comparison possible. Free scales can reveal within-group changes but weaken magnitude comparisons, so disclose that choice. These charts retain the original study-level event counts even though they appear in distinct panels.

Three aligned weekly activity panels for fictional student levels A B and C.
Figure 17. Small multiples reduce clutter while preserving comparable time and value scales.

Other chart types worth knowing

ChartUseful purposePrimary caution
TreemapNested categorical part-to-wholeSmall blocks hard to label precisely
Bubble chartShow a third numerical variable as areaAreas are hard to judge; size accurately
WaterfallExplain sequential contributions to a final totalClearly distinguish increments from totals
FunnelDescribe ordered process stage countsStage denominators and drop-offs matter
Violin plotShow estimated distribution density by groupBandwidth and sample-size effects
Choropleth mapShow a measure assigned to valid geographical areasNormalize counts when rates are needed
Symbol mapShow quantities at verified pointsMarkers can overlap and geography must be real

Map-based displays are appropriate only when location helps answer a substantive question. The fictional labels “Region Alpha” and “Region Beta” in the generated profiles are not real geographic boundaries, and no invented map is provided. A choropleth of raw totals can mislead when regions differ greatly in population: rates with appropriate denominators may be more informative. Tools such as Power BI and Tableau can help explore many chart types interactively, but no software package relieves a researcher of checking geographic validity, units, aggregation or accessibility.

Prepare the data before drawing anything

A visualization cannot be more trustworthy than its inputs. Start by checking each file’s row count, unique identifiers, allowed categories, numerical ranges, units, date parsing, duplicates and missing cells. In this example the Student Profiles table has exactly 240 unique StudentCodes; the Activity Events table has 720 unique EventIDs; every event StudentCode matches a profile. The WeekStartDate field covers twelve consecutive weeks and the derived Weekly Summary totals 720 sessions. The generated source includes no missing profile or event fields; an incomplete learning session is recorded explicitly through SessionCompleted rather than silently deleted.

The relationship between datasets is one student to many activity events. If you join all 720 event rows to 240 unique profiles and then count the joined rows, you get 720 interactions, not 720 students. In the generated event table, only 225 distinct students appear at least once; fifteen profile students have no recorded event. To chart the study-level population, count unique StudentCodes from profiles. To chart sessions, count EventID from events. To chart active learners per week, use distinct StudentCode within each week. Mixing these measures is one of the most consequential mistakes in education analytics.

Counts, percentages, rates and denominators

A count gives the number of observations or events. A percentage divides a part by a specified whole and multiplies by 100. A rate relates events or observations to meaningful exposure, time or population denominators. Level A is 120/240×100 = 50% of all fictional student profiles. A percentage rising from 30% to 50% is a rise of 20 percentage points; relative to the original 30%, that is a 66.67% relative increase. Mixing percent and percentage points creates misleading chart titles even when the bars are drawn correctly.

Percentage = category_count / eligible_total × 100
Level A share = 120 / 240 × 100 = 50%
Percentage-point change = 50% − 30% = +20 points
Relative percentage change = (50 − 30) / 30 × 100 = 66.67%

720 events ≠ 720 unique students
Actual distinct StudentCodes appearing in events = 225

Aggregation also changes what a visualization says. Summing durations produces total learning minutes; averaging them produces average session duration; grouping scores by study level produces mean, median or spread across students. A chart of group means can conceal substantial individual variation, and a 100% stacked composition plot can hide large differences in group size. Choose the correct aggregation for the question, provide the denominator in the caption, and offer a supporting table when exact figures matter. Never silently turn missing entries into zeros merely so a chart can connect them.

Five misleading graphs corrected with the same data

It is possible to calculate every value correctly and still distort readers’ conclusions through the scale, framing or decoration. The five before-and-after visual comparisons below deliberately use the same underlying observations in each pair. The correction changes how the evidence is displayed, not which numbers are allowed to appear. Students should be able to identify the original flaw and explain why the corrected design produces a more faithful interpretation.

1. Truncated bar-chart baseline

A conventional bar encodes quantity through length from a common baseline. When the axis begins at 110, the 72- and 48-student bars can disappear entirely while 120 appears prominent. That is a severe misrepresentation of the 120:72:48 relationship. Start ordinary category-count bars at zero, label the axis and retain the full comparison. This does not imply that all line graphs must begin at zero: line positions may be interpreted differently if the quantitative range is clear.

Misleading truncated bar axis compared with a correct zero-baseline chart using identical counts 120 72 48.
Figure 18. Truncation can hide categories or exaggerate bar differences.

2. Too many pie-chart slices

A ten-slice pie often makes precise ranking difficult because readers compare angles and colours without a common straight baseline. A sorted horizontal bar displays the same ten selected resource-and-subject cell counts more readably. The pie’s crowded labels are the problem, not a mathematical inconsistency in the source cells. A chart-design correction can preserve every value while replacing the encoding. For a genuinely small, mutually exclusive three-part whole, however, a pie can remain reasonable.

Ten actual resource-subject cell counts shown as crowded pie then sorted horizontal bars.
Figure 19. Sorting and horizontal alignment simplify comparison without altering numbers.

3. Cluttered multi-series lines

When three or more time series share one small chart, overlapping lines, repeated markers and a distant legend can slow interpretation. Start by asking whether direct labels, fewer series or synchronized small multiples would better communicate the question. The comparison uses identical weekly data; its improved layout reduces visual overhead, while the separate three-panel figure shown earlier gives stronger subgroup separation. Do not artificially change axis ranges merely to make lines appear more similar or different.

Original three study level weekly series with a cluttered legend compared with a simpler legending arrangement.
Figure 20. Clear labels and restrained emphasis improve a multi-series chart.

4. Decorative 3D-style shadows

A pseudo-3D appearance created by overlapping duplicate bars can imply an additional quantity or alter perceived length. Remove those shadows and show the actual student counts as simple, proportional 2D bars. True 3D perspective can create similar problems by shortening or extending perceived mark lengths depending on viewpoint. Use dimensional effects only when they encode an actual extra variable with accurate geometry and a good reason.

Same Level A B C counts in decorative shadow columns and clean correctly scaled 2D bars.
Figure 21. Decoration should not create a second apparent data series.

5. Percentages without denominators

A chart labelled simply “percent” leaves readers unsure whether a percentage describes all students, students in a subgroup or the share of all events. The corrected title and axis specify that 50%, 30% and 20% describe the three levels’ shares of 240 unique profiles. If the groups differ in size, percentages should not be mistaken for equal numbers of people. The source counts and percentages in the two panels are identical; only the context changes.

The same Level A B C percentages relabelled with their denominator of 240 unique student profiles.
Figure 22. Percentages are meaningful only when their base is clear.

Axes, scales and colour should clarify rather than exaggerate

A quantitative axis should identify its units, direction, tick marks and any nonlinear transformations. Time intervals must be spaced consistently or clearly labelled if they are irregular. Dual axes can make unrelated series appear correlated merely by choosing favourable ranges; aligned small multiples often provide a safer comparison. Reversed axes are sometimes conventional, such as depth increasing downward, but the direction must be unmistakable. None of these rules replaces checking whether the chart addresses the intended analytical question.

Use a categorical palette to distinguish separate groups, a sequential palette for ordered low-to-high values and a diverging palette when values are meaningfully above or below a reference. Limit unnecessary colours and keep series identities stable across multiple figures. Notes for SHS can use green for editorial headings while its charts use varied blue, purple, amber and green marks. Critical information should also be conveyed through text labels, positions, marker shapes or patterns, so readers are not forced to rely on colour alone.

Accessible charts: design for more than perfect vision

The W3C’s guidance on complex images recommends concise alternative text identifying a chart, accompanied by a longer description or data table when necessary. “Graph of student data” tells a screen-reader user almost nothing. “Bar chart showing Level A 120 students, Level B 72 and Level C 48” communicates the essential result. Use clear chart titles, readable font sizes, sufficient contrast, legend labels and properly structured tables. Test charts on narrow screens and in light and dark mode; do not fix overflow merely by shrinking every label until it becomes illegible.

Static figures can be effective when the text and accessible table preserve their meaning. Interactive filters and hover details can help explore data, but they require keyboard and screen-reader testing and can increase page weight. For complex figures, explain key observations directly in the article and provide corresponding downloadable CSV tables. Important learning outcomes should remain available to readers who cannot see colour distinctions or interact with a chart. Accessibility is part of accurate communication, not decorative compliance.

Ethics: graph choices can mislead without changing the data

A misleading chart may use a carefully selected time window, unreported exclusions, unbalanced denominators, missing categories or dramatic wording that goes beyond the evidence. Protect real students’ privacy; our instructional data intentionally use only fictional codes. Disclose where observations are simulated, distinguish actual values from forecasts, document data cleaning and label confidence intervals or error bars with their true meanings. Error bars representing SD, SE or a 95% confidence interval are not interchangeable. Do not invent error bars to make a chart look more scientific: calculate uncertainty using the appropriate statistical or sampling design.

Build charts in Microsoft Excel: begin with a verified table

For an Excel bar chart, import student-profiles-240.csv, verify unique StudentCodes and create a summary by StudyLevel. A PivotTable can count unique records when the unit is correctly defined, or a straightforward helper table can use COUNTIF on the StudyLevel column. The verified counts should be 120, 72 and 48. Select the three-category summary, choose Insert and an appropriate 2D bar or column option, enter an informative chart title, set the count axis from zero and check each bar against the underlying table. Microsoft’s chart creation guidance explains how to select data and edit charts.

Assuming StudyLevel is in Student Profiles!B2:B241:
=COUNTIF('Student Profiles'!B2:B241,"Level A")
=COUNTIF('Student Profiles'!B2:B241,"Level B")
=COUNTIF('Student Profiles'!B2:B241,"Level C")

Expected: 120, 72, 48. Divide each by 240 for shares.

For a line graph, open the twelve-row Weekly Summary sheet and select WeekStartDate plus TotalSessions, ensuring Excel recognizes dates instead of sorting textual labels. For a histogram, use AssessmentScore as one numeric column and choose justified bin widths. For a scatter plot, select the paired WeeklyStudyHours and AssessmentScore cells in the same profile rows, so that a student’s X value is not mismatched to another student’s Y value. For a pie chart, use the exclusive three-level count table rather than overlapping resource usage events. If Excel’s Chart editor suggests an unsuitable graphic, override the suggestion and explain your choice.

Build the same charts in Google Sheets

Google Sheets supports creating and editing charts from a selected range through Insert → Chart, then adjusting chart type, axis, series, titles and style in its chart editor. The official Sheets chart documentation describes the current desktop workflow. Import the supplied compatible workbook into Google Sheets, verify data types, create a bar from the StudyLevel summary and a line from the twelve dated weekly totals. A pie from the 50/30/20 distribution, scatter from paired profile measurements and numerical histogram are also appropriate where supported by your version. Blank cells and row ordering require deliberate checking.

A Google Sheets-compatible XLSX is not the same as testing an actual native Google Sheet. The supplied workbook was built and locally checked; it was not executed in the Google Sheets cloud editor. Different locales can change separators and date interpretation. After importing, confirm that the activity line has twelve correctly ordered dates, values total 720, and no blank or repeated rows are accidentally counted. The goal is not replicating identical colours across applications, but preserving the data, chart type, units and interpretation.

Python and Matplotlib: construct reproducible chart examples

Matplotlib draws static figures from numerical arrays or Pandas tables. The downloadable notebook reads the CSV files, validates the 240 profiles and 720 events, then produces a category bar, weekly line, numeric histogram, hours-score scatter and score box plots. The code cells were executed locally using the saved dataset, with no invented chart values. The script below demonstrates the first step: calculate category counts from StudentCode-level records rather than typing in a separate count table by hand.

import pandas as pd
import matplotlib.pyplot as plt

profiles = pd.read_csv('student-profiles-240.csv')
counts = profiles['StudyLevel'].value_counts().reindex(
    ['Level A','Level B','Level C'])
assert counts.tolist() == [120,72,48]
ax = counts.plot.bar(title='Fictional students by study level')
ax.set_ylim(bottom=0)
ax.set_ylabel('Unique student profiles')
plt.tight_layout()
plt.show()

A line chart uses the verified weekly summary; a histogram uses all 240 assessment scores with declared bin boundaries; and a scatter uses exactly matched hours and score pairs. For group box plots, Matplotlib’s standard boxplot supports an explicit whis=1.5 setting. A saved PNG can be placed in a responsive Gutenberg Image block and supplied with descriptive alt text, a visible caption and a table of values where the chart is complex. Avoid displaying screenshots of nonexistent software sessions: the illustrations here are true Python-generated statistical graphics, not fabricated application interfaces.

import pandas as pd
import matplotlib.pyplot as plt

weeks = pd.read_csv('weekly-activity-summary-12-weeks.csv')
weeks['WeekStartDate'] = pd.to_datetime(weeks['WeekStartDate'])
weeks = weeks.sort_values('WeekStartDate')
assert len(weeks)==12 and weeks.TotalSessions.sum()==720
fig, ax = plt.subplots()
ax.plot(weeks.WeekStartDate, weeks.TotalSessions, marker='o')
ax.set(xlabel='Week starting', ylabel='Learning activity events',
       title='Synthetic activity across 12 weeks')
fig.autofmt_xdate()
plt.show()

Power BI, Tableau and interactive versus static charts

Power BI and Tableau can connect to data sources, summarize measures, create interactive visualizations, filter by category and assemble dashboards. Their greatest value in this lesson is that the same analytical decisions apply across software: define whether a measure is a row count, distinct learner count, sum, average or rate; check axis ranges; and interpret the result within its population. A sophisticated dashboard displaying 720 activity events as 720 students would remain incorrect. For extensive product-specific lessons, follow the site’s separate Power BI tutorial and Google Sheets guide.

Interactive charts can offer filtering, tooltips and exploration, while static images can be faster and easier to embed in a student article. An interactive control must work for keyboard and touch users and provide accessible alternatives; merely including a hover tooltip is not adequate. Use interactivity only when it helps answer a real question. A clear static comparison plus a supporting table can be more educational than a large widget that distracts from key numbers or increases mobile page load time.

An additional chart option: category dot plots

A dot plot with a categorical axis can be an effective alternative to a bar chart when comparison, ranking and a clean layout matter more than bars’ filled area. The accompanying plot uses the number of student profiles whose single listed preference is each learning resource category. Its horizontal quantitative axis starts at zero, and categories are shown as named values. Do not confuse this with the earlier dot plot of eight individual numerical scores: the marks look similar, but the underlying variables and chart questions are different.

Category dot plot of the counted preferred learning resources across 240 unique student profiles.
Figure 23. A categorical dot chart offers another precise, low-clutter comparison.

Build a simple data story from four different questions

A responsible educational data story follows Question → Evidence → Chart → Interpretation → Limitation → Conclusion. First ask who is represented: bar chart of the 120/72/48 student distribution. Then ask how usage changed: line graph of 720 events across twelve weeks. Next ask how achievement scores vary: histogram of 240 scores. Finally ask whether study hours and scores are related: paired scatter of the 240 observations with a moderate positive descriptive correlation. The point is to select a separate chart type for a separate analytical question rather than force everything into one visual format.

Four panels using generated levels weekly events score histogram and paired study hour score data.
Figure 24. A four-chart story preserves the distinct meanings of counts, time, distribution and relationship.

A strong report also tells readers what the chart cannot show. Level A’s size does not imply higher achievement, activity-event counts do not equal students, a histogram does not prove the scores have a theoretical probability distribution, and a scatter plot cannot prove a causal intervention. Include data provenance, relevant methods, numerical checks and clear captions. Only then should the narrative summarize what the figures collectively suggest for further study or data collection.

Ten-task capstone: Build a Student Learning Data Visualization Report

Use the three included CSV datasets and the executed Python notebook. For every task, identify the question, select a defensible chart, explain the data fields and aggregation, reproduce the verified result, then state an appropriate interpretation and a possible limitation. The complete capstone PDF and editable Word report template contain additional instructions. The panels below provide reference answers only after you have attempted the practical work.

Capstone 1 — Inspect the connected datasets

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Dataset A: 240 unique StudentCodes, Dataset B: 720 unique EventIDs, Dataset C: twelve weekly summaries.

Method and limitation: Check unique keys, zero missing fields, dates and many-to-one StudentCode relationship.

Capstone 2 — Compare study levels

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Bar chart of A=120, B=72, C=48; sum=240.

Method and limitation: Use a zero count baseline and count profiles, not joined event rows.

Capstone 3 — Show legitimate part-to-whole shares

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Level A=50%, B=30%, C=20%, mutually exclusive and exhaustive.

Method and limitation: Bar or pie; denominator is 240 unique profiles.

Capstone 4 — Visualize weekly learning activity

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Use counts 45,51,56,60,57,63,70,54,64,68,62,70; sum=720.

Method and limitation: Line for twelve dated weekly totals; label as events, not students.

Capstone 5 — Examine score distribution

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: 240 numerical assessment scores, 0–100 scale, mean approximately 65.8633.

Method and limitation: Choose justified histogram bins; do not infer normality without additional analysis.

Capstone 6 — Compare score spreads by level

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Three score groups have 120,72,48 individual profiles.

Method and limitation: Use box plots with Matplotlib quartiles and 1.5×IQR whisker convention.

Capstone 7 — Examine weekly study hours and scores

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: 240 matched pairs; Pearson r about +0.4859.

Method and limitation: Scatter plot; synthetic association does not establish a causal effect.

Capstone 8 — Make a resource-subject heatmap

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Cross-tabulate 720 event rows by ResourceType and SubjectArea.

Method and limitation: Label the cell count scale; the cells are not counts of distinct students.

Capstone 9 — Repair a misleading graphic

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Show a truncated bar chart and its corrected 0-baseline version with the same 120/72/48 values.

Method and limitation: Do not change source data when demonstrating a visual correction.

Capstone 10 — Write a four-chart evidence report

Build the chart from the original files, explain its units and check whether the resulting conclusion is justified.

Show verified task reference

Verified result: Bar, weekly line, score histogram and paired scatter; document source and limitations.

Method and limitation: Describe chart logic, data integrity, interpretation, accessibility and what cannot be concluded.

Thirty original data-visualization practice questions

The questions are arranged as Level 1 foundations (1–10), Level 2 interpretation (11–20) and Level 3 visual reasoning (21–30). Eight are marked “Which Graph Would You Choose?” and present plausible alternatives before revealing the best starting point. Every question has a separate hint and complete worked answer. Attempt each before opening the panels; the printable question-only worksheet and detailed answer guide make it possible to practise without reading the answers first.

Level 1 — Visualization foundations (1–10)

Question 1 — Define visualization

What is data visualization?

Show hint

Think about graphical representation.

Show worked solution

Recommended answer: Graphically presenting numerical or categorical evidence to support exploration, interpretation and communication.

Less suitable approach or common error: A chart cannot create evidence absent from source data.

Question 2 — Categorical variable

Is the DeviceType variable categorical or numerical?

Show hint

Device names, not measured quantities.

Show worked solution

Recommended answer: Nominal categorical data such as Laptop, Smartphone and Tablet.

Less suitable approach or common error: Numbers assigned as category codes would not make this a true numerical measure.

Question 3 — Numerical variable

How should the WeeklyStudyHours variable be classified?

Show hint

It represents an amount.

Show worked solution

Recommended answer: A numerical measurement, suitable for scatterplots, histograms and descriptive summaries.

Less suitable approach or common error: Its rounded recorded values do not create natural categories.

Question 4 — Compare categories

Choose a graph for 120,72,48 study-level profiles.

Which Graph Would You Choose? Consider: Bar • Line • Pie.

Show hint

Compare three lengths from zero.

Show worked solution

Recommended answer: Zero-baseline category bar or column chart: A120, B72, C48.

Less suitable approach or common error: A time line would imply continuity that the levels do not have.

Question 5 — Show a time trend

Choose a graph for twelve consecutive weeks of sessions.

Which Graph Would You Choose? Consider: Line • Scatter • Histogram.

Show hint

Time is ordered.

Show worked solution

Recommended answer: A line or chronological period-column chart; weekly totals sum to 720.

Less suitable approach or common error: Do not sort dates alphabetically or equate sessions to students.

Question 6 — Display score spread

Choose a graph for 240 assessment scores.

Which Graph Would You Choose? Consider: Histogram • Pie • Line.

Show hint

Think numerical intervals.

Show worked solution

Recommended answer: Histogram, with documented bins; box plot if comparing summary distributions by group.

Less suitable approach or common error: A pie cannot represent a continuous numerical distribution faithfully.

Question 7 — Explore a relationship

Choose a graph for study hours paired with scores.

Which Graph Would You Choose? Consider: Scatter • Stacked bar • Pie.

Show hint

Two numerical axes.

Show worked solution

Recommended answer: Scatter plot, optionally with a justified fitted line.

Less suitable approach or common error: Positive association is not proof of causation.

Question 8 — Show an exclusive whole

Choose a chart for Level A50%, B30%, C20%.

Which Graph Would You Choose? Consider: Bar • Pie • Scatter.

Show hint

They sum to exactly 100%.

Show worked solution

Recommended answer: Bar or a carefully labelled simple pie chart; state N=240.

Less suitable approach or common error: Avoid pies for overlapping responses.

Question 9 — Axes

For the hours-score scatter, identify both axes.

Show hint

X=hours and Y=scores.

Show worked solution

Recommended answer: X: weekly study hours; Y: assessment score (0–100 points).

Less suitable approach or common error: Do not omit units or pair mismatched rows.

Question 10 — Chart title

Improve the title ‘Student Data’.

Show hint

Include what, how many and source.

Show worked solution

Recommended answer: ‘Fictional Student Profiles by Study Level: 120, 72 and 48 (N=240)’.

Less suitable approach or common error: Vague titles conceal the analytical question.

Level 2 — Chart interpretation (11–20)

Question 11 — Bar interpretation

Which level has the most profiles, and by how many more than C?

Show hint

Subtract 48 from 120.

Show worked solution

Recommended answer: Level A; 120−48=72 more students than C.

Less suitable approach or common error: This is a count difference, not percentage points.

Question 12 — Category percentages

Calculate A/B/C percentages from 240 profiles.

Show hint

Use each count divided by 240.

Show worked solution

Recommended answer: A 50%, B 30%, C 20%, total 100%.

Less suitable approach or common error: Use all unique profiles as the denominator.

Question 13 — Read weekly activity

What are the first and last event counts?

Show hint

Check the derived weekly table.

Show worked solution

Recommended answer: 45 events in the first week; 70 in the twelfth.

Less suitable approach or common error: These numbers count sessions, not unique people.

Question 14 — Nonmonotonic trend

Do 120,150,135,195 fictional visits increase every month?

Show hint

What occurs Feb to Mar?

Show worked solution

Recommended answer: No: February to March declines 150→135; Jan→Apr rises by 75 or 62.5%.

Less suitable approach or common error: Net growth is not uninterrupted growth.

Question 15 — Histogram boundaries

Bin 60,65,70,70,75,80,85,95 using [60,70),[70,80),[80,90),[90,100).

Show hint

70 enters the bin starting at 70.

Show worked solution

Recommended answer: 2,3,2,1; sum eight.

Less suitable approach or common error: Avoid double counting boundary observations.

Question 16 — Box-plot features

Explain the box, median and whiskers.

Show hint

Quartiles plus convention.

Show worked solution

Recommended answer: Box from Q1 to Q3; median within; 1.5×IQR whiskers to most extreme admissible observed values.

Less suitable approach or common error: Whiskers need not equal min/max.

Question 17 — Two numeric variables

Which chart best shows a possible study hours-score relationship?

Which Graph Would You Choose? Consider: Scatter • Pie • Area chart.

Show hint

Paired X-Y points.

Show worked solution

Recommended answer: Scatter plot with correct X and Y labels.

Less suitable approach or common error: Separate marginal bar charts do not reveal pairs.

Question 18 — Normalized comparison

What graph compares resource preference shares across unequal levels?

Which Graph Would You Choose? Consider: 100% stacked bar • Scatter • Histogram.

Show hint

Each group sums to 100%.

Show worked solution

Recommended answer: 100% stacked bar with denominators A120 B72 C48 shown.

Less suitable approach or common error: Equal-length bars do not imply equal populations.

Question 19 — Heatmap meaning

What does a resource-by-subject heatmap cell represent?

Show hint

Inspect its labelled legend.

Show worked solution

Recommended answer: A count of synthetic activity events for one resource-subject combination.

Less suitable approach or common error: Not automatically a correlation or unique-student rate.

Question 20 — Events vs users

Are 720 events equivalent to 720 participating students?

Show hint

Look at unique StudentCode.

Show worked solution

Recommended answer: No, events come from 225 distinct StudentCodes.

Less suitable approach or common error: A one-to-many join can multiply profiles.

Level 3 — Design, accessibility and research judgement (21–30)

Question 21 — Misleading baseline

Why is truncating student-count bar axes problematic?

Show hint

Bar length encodes magnitude.

Show worked solution

Recommended answer: It exaggerates difference or hides smaller bars; conventional bars should begin at zero.

Less suitable approach or common error: Don’t apply the same rule mechanically to all line charts.

Question 22 — Invalid pie

Can overlapping multiple-response categories be a valid single pie whole?

Show hint

Shares might exceed 100%.

Show worked solution

Recommended answer: No, use category bars unless categories form an exclusive complete partition.

Less suitable approach or common error: Don’t normalize away overlapping membership.

Question 23 — Dual-axis risk

Why might a two-y-axis chart create false impressions?

Show hint

Independent axis range choices.

Show worked solution

Recommended answer: Adjusted scales may visually align unrelated series; use labelled small multiples when appropriate.

Less suitable approach or common error: Visual resemblance is not evidence of correlation.

Question 24 — Accessible palette

How should colors convey distinct categories without excluding readers?

Show hint

Use labels and contrast.

Show worked solution

Recommended answer: Use high contrast, direct labels, shapes or patterns; do not depend on red/green hue alone.

Less suitable approach or common error: Colour alone cannot convey critical meaning.

Question 25 — Chart alt text

Write descriptive alt text for Level A/B/C counts.

Show hint

Name graph and values.

Show worked solution

Recommended answer: ‘Bar chart: Level A 120 students; Level B 72; Level C 48.’

Less suitable approach or common error: ‘Graph showing data’ is insufficient.

Question 26 — Avoid join duplication

How can joining 720 events to 240 profiles mislead a student-count chart?

Show hint

Students may have multiple events.

Show worked solution

Recommended answer: Count distinct StudentCode from the profiles or event records, not raw joined rows.

Less suitable approach or common error: 720 event rows are not 720 student profiles.

Question 27 — Causality caution

Does a positively sloped scatter prove that study time causes higher scores?

Show hint

Other factors can explain the pattern.

Show worked solution

Recommended answer: No. Pearson r≈0.486 is a synthetic association only.

Less suitable approach or common error: Trend lines alone do not prove intervention effects.

Question 28 — Uncertainty representation

Which visual can communicate a justified mean confidence interval?

Which Graph Would You Choose? Consider: Dot with calculated CI • Pie • Unlabelled error bars.

Show hint

Point and interval.

Show worked solution

Recommended answer: A dot or estimate with a correctly calculated and labelled CI bar or uncertainty band.

Less suitable approach or common error: SD, SE and CI are different quantities.

Question 29 — Fix a weekly plot

A chart sorts week labels as text and silently drops missing dates. What must change?

Show hint

Real dates and complete calendar.

Show worked solution

Recommended answer: Parse and sort dates, reindex expected weeks, distinguish absent data from true zero, label units.

Less suitable approach or common error: Joining across missing weeks implies false continuous observations.

Question 30 — Four-chart data story

Choose four charts that present profiles, weekly activity, score spread and study-hours associations.

Show hint

Each question needs a separate visual.

Show worked solution

Recommended answer: Bar for A/B/C, line for 12 weekly events, histogram for scores, scatter for paired hours and scores; disclose synthetic data.

Less suitable approach or common error: One chart type cannot answer all four questions.

Forty common data-visualization mistakes—and how to fix them

The following checklist is organized as a diagnostic table rather than a list of arbitrary design rules. For every problem, ask whether it changes the numbers, hides the appropriate denominator, distorts the visual encoding or pushes the interpretation beyond the evidence. Fixing a graph does not mean changing observations to create a preferred result: preserve the records and improve the chart or its explanatory context.

Incorrect practiceWhy it misleadsPractical correction
Choose graph before questionA pie for weekly time obscures a trendDefine time question first; use a line
Use pies for every datasetAngles cannot show paired hours and scoresUse an hours-score scatter
Call category bars histogramsLevels are separate labels, not numeric binsBar for A/B/C, histogram for scores
Connect unrelated categories with linesImplies meaningful continuityUse separate level bars
Treat device codes as measurementsNumeric codes represent namesShow named nominal categories
Truncate count-bar baselineMagnifies differences or hides barsStart 120/72/48 bars at zero
Omit score unitsReader cannot interpret numeric axisLabel assessment score (0–100)
Reverse axes silentlyReader may misread directionExplain unusual conventional direction
Use uneven time spacingCreates false apparent slopesPlot actual ordered dates
Ignore missing weeksHides gapsRetain missing dates with explicit gap
Connect missing observationsInvents unrecorded valuesDo not join across unknown weeks silently
Use many decorative coloursConceals series identityLimit to stable labelled category colours
Rely on red vs green aloneSome readers cannot distinguishAdd direct labels and pattern/shape
Make labels too smallUnusable on mobileUse readable sizes or horizontal bars
Add 3D columnsPerspective distorts mark lengthsUse straightforward 2D bars
Overload with annotationsData cannot be seenPrioritize essential labels
Mix small-multiple scales secretlyApparent difference may be falseUse shared axes for magnitude comparison
Omit percentage denominator50% of what?Say 120/240 unique profiles
Confuse percentage points30→50 is not +20% relativeReport +20 points; +66.7% relative
Hide pie category labelsReaders guess slice identityLabel clear exclusive groups
Make overlapping pie wholeShares can exceed 100%Bar chart for multiple response
Count 720 events as 720 studentsOne-to-many relationship duplicates peopleUse 225 distinct active IDs
Ignore different group sizesEqual 100% bars obscure NDisplay A120 B72 C48
Use counts when rates neededPopulation exposure differsCalculate comparable per-unit rates
Change histogram bins opportunisticallyShape changes dramaticallyDocument bin boundaries
Treat box plot as all observationsDistribution shape may be hiddenSupplement with dots or histogram
Call scatter relation causalConfounding remains possibleReport r≈0.486 as association
Add trend line as decorationUnsupported model implicationFit and label only if justified
Invent or adjust numbersMisrepresents evidenceGenerate charts directly from CSV
Present forecasts as observedConflates prediction and realityUse separate line style and label
Omit sourceProvenance unclearState fictional dataset and seed
Hide simulated-data disclosureReader assumes real studentsIdentify all records as synthetic
Label SD bars as CIsDifferent uncertainty quantitiesCalculate and label method explicitly
Choose layout for decorationMain message lostLead with analytical question
Upload pixelated graphicsAxes and labels unreadableExport high-resolution PNG
Let chart overflow phone screenReader must scroll sidewaysResponsive image, limited series
Write empty alt text for informative chartsScreen-reader reader lacks resultDescribe 120/72/48 counts
Fabricate software screenshotsFalsely claims a software testUse actual generated figures
Delete outliers without documentationBiases distribution and summariesInvestigate first; explain exclusions
Assume attractive graph is validData quality and inference unresolvedAudit aggregation and design first

Final Checklist: Is Your Chart Ready to Share?

Before sharing your chart, check these five essentials:

  1. Accuracy: Do the plotted values, calculations and denominators match the source data?
  2. Chart selection: Does the graph match the variable types and the research question?
  3. Readability: Are the title, axes, scales, labels and colours clear and honest?
  4. Accessibility: Is it readable on mobile, with descriptive text and meaning that does not rely on colour alone?
  5. Interpretation: Are the source, limitations and conclusions explained accurately?

Four-week learning roadmap

WeekPractice goalsEvidence of completion
1 — FoundationsData types; category bars; line and pie choicesExplain why 120/72/48 needs bars and 12-week counts need a time axis
2 — Statistical graphsHistogram, scatter, box, dots, heatmapReplicate the eight-score bins and the paired hours-score scatter
3 — Build and critiqueExcel, Sheets, Python, misleading axes, accessProduce honest charts with captions and accessible alternatives
4 — Publish a data storyTen capstone tasks; 30 exercises; four-chart reportSubmit verified plots, methods, numbers and limitations

The roadmap is flexible. Students who already know mean, median and standard deviation may begin with the chart comparisons, while beginners can revisit Topics 74–81 for the statistical background. Each week should produce actual figures and written explanations, not merely screenshots of software menus. The strongest evidence of learning is a chart selection that can be defended from the variable type, the question and the raw observations.

Download the chart-selection learning resources

These educational workbooks and PDFs are hosted in the connected Notes for SHS staging media library. A separate complete ZIP contains the 240-profile CSV, 720-event CSV, twelve-week summary, supporting tables, all 25 original graphics, the executable Python notebook, question bank and the generator scripts. The Google Sheets-compatible workbook was prepared for import; it was not run as an online Google Sheet.

Optional guided visualization courses

Students wanting structured practice can explore Fundamentals of Visualization with Tableau on Coursera or Microsoft Excel: Data Visualization with Charts & Graphs on Udemy. These are verified provider landing pages and are presented as informational links, not as approved affiliate-tracked links: specific Impact or Udemy tracking parameters for this article were not available to verify. Enrollment conditions, fees, content and certificates should be checked directly with the providers.

Frequently asked questions

What is data visualization?

Using graphical encodings to explore, understand or communicate data.

Which graph is best for comparing categories?

A bar chart or category dot chart is often a strong starting point.

Which graph shows trends over time?

A chronological line graph, or dated columns for separate period totals.

What is the difference between a bar chart and histogram?

Bar charts compare distinct categories; histograms summarize numeric intervals.

When should I use a scatter plot?

To inspect paired observations of two numerical variables, without assuming causation.

When is a pie chart suitable?

For a small number of mutually exclusive categories forming one meaningful whole.

What does a box plot show?

Median, quartiles, IQR, whiskers and possible outliers under a stated convention.

What does a heatmap display?

A two-dimensional numerical matrix using a labelled colour scale.

Should a chart’s vertical axis always begin at zero?

Conventional magnitude bars generally should; other chart forms require context-specific scales.

Why should I count distinct students rather than activities?

One learner can create many events, so event rows are not necessarily different people.

How do I make charts accessible?

Use meaningful alt text, readable labels, contrast and supporting tables when needed.

Can Excel, Google Sheets and Python create these charts?

Yes; chart selection and numerical verification matter in every application.

Conclusion: the chart serves the question

The most useful graph is the one that makes the right question easier to answer while preserving the source data’s meaning. Bars compare categories, lines track time, histograms and box plots describe distributions, scatter plots explore paired numerical relationships, and heatmaps can summarize two-dimensional matrices. Pies, stacks, dot plots and small multiples have important roles when their strengths match the data. Every choice also requires correct aggregation, readable scales, honest captions and appropriate uncertainty and accessibility information.

The fictional learning project demonstrates this principle with 240 distinct student profiles and 720 activity records summarized over twelve weeks. A reader who counts activity rows as unique students, mislabels a percentage or interprets an association causally can reach a false conclusion despite having produced a technically attractive chart. Work through the ten-task capstone, reproduce the figures in Excel or Python and use the 30 questions to practise defending each choice. Clear, trustworthy data visualization is a discipline of statistical thinking and communication—not simply decoration.

References and further reading

Related Data Science articles