Notes/The Complete Guide to Reading Charts: Every Visualization Type Explained
Back to Notes

The Complete Guide to Reading Charts: Every Visualization Type Explained

An interactive reference covering 20 chart types used across CS, finance, data science, and engineering. For each type: what it shows, how to read it, when to use it, and where you will encounter it.

2025-09-07AI-Synthesized from Personal NotesSource2500+ words of raw notesEnrichmentsInteractive chartsPipelineMulti-pass AI review · Score: 97/100
Share
GuidesData VisualizationChart TypesReference

Terminology

Term Definition
Axis A reference line on a chart. The x-axis runs horizontally (usually the independent variable), the y-axis runs vertically (usually the dependent variable)
Series A single dataset plotted on a chart. Multiple series on the same chart allow comparison (e.g., two lines on a line chart)
Domain The range of values an axis covers. A y-axis domain of [0, 100] means it spans from 0 to 100
Categorical vs Continuous Categorical axes have discrete labels (months, names). Continuous axes have numeric values where the spacing matters (time, price)
Stacked Chart A chart where multiple series are layered on top of each other. The total height shows the sum, each band shows one component
Tooltip The popup that appears when you hover over a data point, showing exact values. Every interactive chart below has tooltips
OHLC Open, High, Low, Close: four prices per trading period. The standard data format for financial candlestick charts
Quartile Values that divide a sorted dataset into four equal parts. Q1 (25th percentile), median (50th), Q3 (75th). Used in box plots

What & Why

Charts are the universal language of data. Whether you are debugging a performance regression, presenting quarterly results, analyzing a machine learning model, or reading a research paper, you will encounter visualizations. The ability to read them correctly is as fundamental as reading code.

This guide covers 20 chart types organized into four families: trend charts (showing change over time), comparison charts (showing differences between categories), composition charts (showing parts of a whole), and specialized charts (domain-specific visualizations). For each type, we answer four questions:

  1. What does it show?
  2. How do you read it?
  3. When should you use it?
  4. Where will you encounter it?

Every chart below is interactive. Hover over any data point to see exact values.

How It Works

Family 1: Trend Charts

These charts show how values change over a continuous dimension, usually time.


1. Line Chart

A line chart connects data points with a continuous line, making trends, slopes, and inflection points immediately visible. Multiple lines on the same axes allow direct comparison.

How to read it: Follow the slope. Steeper = faster change. Where lines cross, relative performance flips. Flat sections mean stagnation.

Use cases: ML training curves, stock price trends, server latency over time, population growth, any "how does Y change as X increases?" question.

Where you will encounter it: Jupyter notebooks, Grafana dashboards, financial terminals, research papers, Google Analytics.


2. Area Chart

An area chart is a line chart with the region below the line filled in. When multiple series share a stackId, they stack on top of each other, showing both individual contributions and the total.

How to read it: The total height is the sum. Each colored band is one component's share. Widening bands mean that component is growing relative to others.

Use cases: Portfolio allocation over time, browser market share, revenue by product line, memory usage breakdown, cumulative returns.

Where you will encounter it: Business dashboards, portfolio management tools, AWS Cost Explorer, system monitoring.


3. Candlestick Chart

Each "candle" encodes four prices: open, high, low, close. The thick body spans open-to-close (green = up, red = down). Thin wicks extend to the high and low.

How to read it: Body size = conviction. Wick length = rejection at extremes. Long lower wick = buyers pushed back. Overlay lines (like the SMA below) smooth out noise to reveal the trend.

Use cases: Stock/crypto/forex price analysis, technical trading, any OHLC time series.

Where you will encounter it: TradingView, Bloomberg Terminal, Robinhood, any financial charting platform.


4. Banded / Confidence Interval Chart

Lines with a shaded band showing a range (confidence interval, prediction bounds, Bollinger Bands). The band's width encodes uncertainty.

How to read it: The line is the central estimate. The band is the range of plausible values. Wider band = more uncertainty. When the actual value exits the band, something unusual happened.

Use cases: Bollinger Bands, analyst price targets, weather forecasts, ML prediction intervals, A/B test confidence intervals.

Where you will encounter it: Financial analysis, scientific papers, weather apps, ML model evaluation dashboards.

Family 2: Comparison Charts

These charts compare values across discrete categories or between groups.


5. Bar Chart

Bars encode values as lengths. The eye naturally compares bar heights, making relative differences immediately apparent.

How to read it: Taller bar = larger value. Always check if the y-axis starts at zero: a truncated axis exaggerates differences.

Use cases: Algorithm benchmarks, survey results, A/B test metrics, sector performance, any "which category is biggest?" question.

Where you will encounter it: Dashboards, presentations, research papers, Jira velocity charts, CI/CD pipeline reports.


6. Stacked Bar (Positive/Negative)

Bars that extend both above and below zero, showing positive and negative contributions. Uses stackOffset="sign".

How to read it: Bars above zero are positive, below are negative. The net position shows whether the total is positive or negative.

Use cases: P&L statements, budget variance, net migration, any metric with positive and negative components.

Where you will encounter it: Financial reports, HR analytics, economic data, project budget tracking.


7. Scatter Plot

Each dot is positioned by two continuous variables. Clusters, outliers, and correlations become visible.

How to read it: Look for trends (upward slope = positive correlation), clusters (groups of similar items), and outliers (dots far from the pack). Hover to identify individual points.

Use cases: Risk-return analysis, correlation studies, regression diagnostics, embedding visualizations (t-SNE/UMAP), Fitts's law experiments.

Where you will encounter it: Research papers, portfolio analysis tools, ML experiment tracking (Weights & Biases), statistical software.


8. Bubble Chart

A scatter plot where each dot has a third dimension encoded as size. Three variables in one view.

How to read it: Position = x and y values. Size = z value. Larger bubbles represent larger values on the third dimension.

Use cases: Market cap vs return vs volatility, country GDP vs life expectancy vs population, feature importance in ML models.

Where you will encounter it: Gapminder, financial research, product analytics (users vs revenue vs engagement).


9. Radar Chart

Multiple dimensions plotted on axes radiating from a center. The polygon shape is the entity's "fingerprint."

How to read it: Each spoke is a different metric. Further from center = higher score. Compare polygon shapes: a balanced polygon means consistent performance, spikes and dips reveal trade-offs.

Use cases: Fund comparison, GPU benchmarks (FLOPS, bandwidth, power, cost), usability heuristic scores, player stats in games, multi-criteria decision analysis.

Where you will encounter it: Product comparison sites, sports analytics, UX research reports, hardware reviews.

Family 3: Composition & Decomposition Charts

These charts show how parts relate to a whole, or how a total breaks down into components.


10. Waterfall Chart

Shows how an initial value is transformed into a final value through a series of positive and negative steps. Each bar "floats" where the previous one ended.

How to read it: Green bars add, red bars subtract, purple bar is the total. The running height shows the cumulative effect. Large offsetting bars (big green + big red) indicate hidden volatility even if the net change is small.

Use cases: P&L attribution, budget variance analysis, revenue bridge, capital adequacy decomposition, explaining "why did the number change?"

Where you will encounter it: CFO presentations, consulting decks (McKinsey loves these), regulatory reports, project post-mortems.


11. Treemap

Rectangles nested inside rectangles, where area encodes value. Shows hierarchical data and relative proportions at a glance.

How to read it: Bigger rectangle = larger value. Color groups related items. Nesting shows hierarchy (parent contains children).

Use cases: Disk usage (WinDirStat), stock market sectors by market cap, codebase file sizes, budget allocation, information architecture.

Where you will encounter it: File managers, finviz.com market maps, Webpack bundle analyzers, project management tools.


12. Radial Bar Chart

Concentric arcs where length encodes value. A compact way to show progress or compare a small number of categories.

How to read it: Longer arc = higher value. Each ring is a different category. Good for showing progress toward a goal (like a fitness tracker).

Use cases: Age demographics, goal progress, survey completion rates, skill proficiency levels, KPI dashboards.

Where you will encounter it: Fitness apps (Apple Watch rings), marketing dashboards, HR analytics, mobile app UIs.


13. Population Pyramid

A bidirectional horizontal bar chart. One side extends left (typically male), the other right (typically female). Shows distribution across categories.

How to read it: Each row is a category (age group). Left bars and right bars allow direct comparison. The overall shape reveals the distribution: a true pyramid means a young population, a column means an aging one.

Use cases: Demographics, customer segmentation (new vs returning), bidirectional survey results, any "compare two groups across categories" question.

Where you will encounter it: Census data, UN population reports, marketing analytics, epidemiology.

Family 4: Specialized & Domain-Specific Charts

These charts serve specific analytical needs across different fields.


14. Box Plot

Shows the statistical distribution of a dataset: median, quartiles (Q1, Q3), whiskers (min/max), and outliers. Five numbers in one glyph.

How to read it: The box spans Q1 to Q3 (the middle 50% of data). The line inside is the median. Whiskers extend to min/max. Dots beyond the whiskers are outliers. A tall box means high variability.

Use cases: API latency distributions, salary ranges by role, test score distributions, manufacturing quality control, any "what is the spread?" question.

Where you will encounter it: Statistical software (R, Python/matplotlib), performance monitoring, academic papers, quality assurance reports.


15. Efficient Frontier

A specialized scatter+line chart from portfolio theory. The curve shows the best possible risk-return trade-offs. Individual assets are dots. The cloud shows random portfolios.

How to read it: The curve is the frontier: you cannot do better than this without taking more risk. Assets below the curve are suboptimal. Assets above it (if any) are mispriced or have estimation error.

Use cases: Portfolio optimization, risk-return analysis, Markowitz mean-variance optimization, robo-advisor allocation.

Where you will encounter it: Bloomberg, portfolio management platforms, CFA exam prep, quantitative finance research.


16. Timeline / Gantt Chart

Horizontal bars showing time ranges. Each row is a task or entity, and the bar spans from start to end time.

How to read it: Bar length = duration. Bar position = when it happens. Overlapping bars = parallel work. Gaps = idle time. Multiple colors can show different phases.

Use cases: Project management, sprint planning, distributed systems message timelines, TLS handshake sequences, CPU pipeline visualization.

Where you will encounter it: Jira, Asana, Microsoft Project, distributed tracing tools (Jaeger), network protocol analyzers.


17. Composed Chart (Mixed Types)

Multiple chart types (bar, line, area, scatter) on the same axes. The Swiss army knife of data visualization.

How to read it: Each visual element type encodes a different metric. Bars for absolute values, lines for trends, areas for ranges, dots for individual observations.

Use cases: Revenue + target + profit on one chart, temperature + precipitation, any dashboard where multiple related metrics share an axis.

Where you will encounter it: Business intelligence tools (Tableau, Looker), financial dashboards, operational monitoring.


18. Scatter + Line of Best Fit

Scatter points with regression lines overlaid. Shows both the raw data and the fitted model.

How to read it: Dots are observations. Lines are the model's prediction. Distance from dot to line = residual (prediction error). Tighter clustering around the line = better fit.

Use cases: Linear regression visualization, performance scaling analysis, dose-response curves, calibration plots.

Where you will encounter it: Statistics textbooks, ML experiment reports, scientific papers, engineering performance analysis.

Family 5: Non-Chart Visualizations

These are not traditional charts but are essential visualization tools in technical work.


19. Force-Directed Graph

Nodes connected by edges, positioned by a physics simulation. Connected nodes attract, unconnected nodes repel.

How to read it: Clusters of tightly connected nodes form visible groups. Central nodes with many connections are hubs. Isolated nodes on the periphery have few relationships. Edge density shows how interconnected a region is.

Use cases: Social networks, dependency graphs (npm packages), biological pathways, knowledge graphs, citation networks, microservice architectures.

Where you will encounter it: Neo4j browser, GitHub dependency graphs, network security tools, bioinformatics platforms.


20. UML Diagrams

Text-based diagrams rendered from a simple markup language. Flowcharts, sequence diagrams, state machines, and more.

How to read it: Follow the arrows. Boxes are states or entities. Arrows show transitions or data flow. Diamond shapes are decision points.

Use cases: System architecture diagrams, API flow documentation, state machines, database schemas, Git branching strategies, protocol sequences.

Where you will encounter it: GitHub README files, Notion, Confluence, technical documentation, architecture decision records.

Complexity Analysis

Chart rendering is computationally cheap. The expensive part is data preparation.

Operation Time Notes
Render $n$ data points (any chart) $O(n)$ Linear scan to map data to pixels
Sort bars by value $O(k \log k)$ $k$ categories
Compute stacked areas $O(n \cdot s)$ $n$ points, $s$ series
Treemap layout (squarified) $O(n \log n)$ Sort + recursive subdivision
Force-directed graph layout $O(n^2)$ per tick All-pairs repulsion. Barnes-Hut reduces to $O(n \log n)$
Correlation matrix (for scatter) $O(m^2 T)$ $m$ assets, $T$ time periods

The key insight: rendering is always $O(n)$. The bottleneck is always the data transformation that happens before the chart is drawn.

Implementation

Choosing the Right Chart

Reading Any Chart: The 5-Point Checklist

Real-World Applications

Data science and ML: Training curves (line), confusion matrices (treemap), hyperparameter search (scatter/bubble), model comparison (radar), feature importance (bar), prediction intervals (banded).

Software engineering: Latency distributions (box plot), system architecture (mermaid/force graph), build times (bar), memory usage over time (area), sprint timelines (timeline/gantt).

Finance: Price action (candlestick), portfolio allocation (stacked area), risk-return (scatter/efficient frontier), P&L attribution (waterfall), multi-factor comparison (radar), demographics (pyramid).

Product and business: Funnel analysis (waterfall), A/B test results (bar), user engagement over time (line), market share (stacked area), customer segmentation (pyramid/bubble).

Academic research: Statistical distributions (box plot), regression analysis (scatter + fit line), confidence intervals (banded), citation networks (force graph), experimental results (bar with error bars).

Key Takeaways

  • Charts fall into four families: trend (line, area, candlestick, banded), comparison (bar, scatter, bubble, radar), composition (waterfall, treemap, radial bar, pyramid), and specialized (box plot, efficient frontier, timeline, composed, force graph, mermaid).

  • Before reading any chart, check five things: axis labels, whether y starts at zero, the scale (linear vs log), the time period, and the sample size. These five checks catch most misleading visualizations.

  • The right chart type depends on your question, not your data. "How does it change over time?" calls for a line chart. "How do categories compare?" calls for a bar chart. "What are the parts of the whole?" calls for a stacked area or waterfall.

  • All chart rendering is $O(n)$. The computational cost is in data preparation (sorting, aggregation, correlation matrices), not in drawing pixels.

  • Every chart in this guide is interactive: hover for exact values. Building chart literacy means practicing with real data, not just reading about chart types.