Data visualization transforms raw data into visual representations like charts, graphs, and maps, making complex information accessible and actionable at a glance. As a bridge between data analysis and communication, it operates across every domain—from business intelligence and scientific research to journalism and public policy. The key distinction lies not just in choosing the right chart type, but in understanding perceptual principles: how the human visual system processes color, shape, position, and pattern to extract meaning faster than any table or report could deliver. In 2026, the field continues to evolve with AI-assisted chart generation, real-time dashboards, and mobile-first responsive designs reshaping how practitioners create and consume data stories.
What This Cheat Sheet Covers
This topic spans 18 focused tables and 162 indexed concepts, 117 flashcards, 6 practice tests with 190 questions. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
A jump-to index of every table row in this cheat sheet.
An interactive map of every table and concept in this topic.
Table 1: Fundamental Chart Types
Start here, these are the everyday charts that cover the vast majority of real-world needs. Each one answers a specific question: bars compare categories, lines trace change over time, scatter plots expose relationships, and histograms reveal a distribution's shape. Knowing which to reach for, and the cases where a familiar favorite like the pie chart quietly misleads, is the foundation everything else builds on.
| Type | Example | Description | |
|---|---|---|---|
plt.bar(categories, values) | • Compares categorical data using rectangular bars • length encodes value, ideal for discrete comparisons. | ||
plt.plot(dates, values) | • Shows trends over continuous time by connecting data points • reveals patterns, cycles, and changes. | ||
plt.scatter(x, y) | • Displays relationship between two continuous variables • each point represents one observation, reveals correlations. | ||
plt.pie(sizes, labels=labels) | • Shows proportions of a whole using slices • best limited to 5–7 categories, avoid for precise comparisons. | ||
plt.hist(data, bins=20) | • Displays distribution of continuous data using bins • reveals shape, spread, and central tendency. | ||
sns.boxplot(x='group', y='value', data=df) | • Summarizes a distribution using five numbers: minimum, Q1, median, Q3, maximum • the whiskers commonly flag points beyond 1.5 times the IQR as outliers, a convention rather than an absolute rule. | ||
plt.fill_between(x, y1, y2) | • Fills the region under a single trend line to emphasize its magnitude over continuous x, most often time • because the fill reads like a bar's height, it usually needs a zero baseline just like a bar chart. | ||
sns.heatmap(data, cmap='viridis') | • Uses color intensity to show values in a matrix • ideal for correlation matrices and 2D distributions; needs a perceptually uniform colormap like viridis, not rainbow or jet, so equal value gaps look like equal color gaps. | ||
go.Pie(values=vals, hole=0.4) | • Pie chart with a hollow center for a label or KPI • research shows it reads no better than a pie chart, since slices are still judged mostly by angle and arc length. | ||
plt.stem(categories, values) | • Bar chart variant using a thin line and dot instead of a filled bar • reduces visual clutter with many categories, though a controlled study found no proven accuracy gain over bar charts. |