Skip to content

Data Visualization

Data visualization is the graphical representation of information and data. By using visual elements like charts, graphs, and maps, data visualization tools provide an accessible way to see and understand trends, outliers, and patterns in data. Additionally, it provides an excellent way for employees or business owners to present data to non-technical audiences without confusion.

This enables sharing of information, visualizing patterns and relationships, and sometimes interactively exploring opportunities.

However, the visuals themselves, can cause biased inference.

There are over 200+ charts that can be used(Jump to section). However, it is recommended to read through the principles prior to it.

Guiding Principles for Data Visualizations

Edward Tufte Principles

PrincipleDescriptionApplication Area (Examples)
Show the DataThe primary focus of a visualization should be the data itself—not decoration, branding, or interface clutter.Minimal charts, clear regions in dashboards, removing decorative frames.
Maximize Data-Ink RatioUse only the ink needed to represent data; reduce or remove non-essential marks.Light gridlines, no chart borders, thin axis lines, direct value labels.
Erase Non-Data InkRemove elements that do not communicate information.Delete drop shadows, 3D effects, unnecessary legends.
Erase Redundant Data InkAvoid repeating the same value visually more than needed.Don’t label every bar segment if axis already conveys it.
Avoid ChartjunkAvoid decorative forms, textures, and graphics that distract from interpretation.Avoid 3D pie charts, clipart, patterns, animations.
Data Density / High Data-to-Ink DensityPresent data in a compact form that allows rich comparison without clutter.Heatmaps, dense line charts, tables with sparklines.
Small MultiplesUse multiple small, consistent charts to compare data across categories or time.Side-by-side mini charts for regions, cohorts, products.
SparklinesWord-sized graphics that show trends inline with text.Financial summaries, inline KPI trend indicators.
Micro / Macro ReadingsEnable both overview and detailed inspection in the same visual.Zoomable charts, layered maps, dashboards with drill-down.
Layering & SeparationUse visual hierarchy to distinguish primary from supporting content.Bold primary data line + subtle gridlines + faint context curves.
Color Should Support Structure, not DecorationColor is for emphasis, grouping, and hierarchy, not decoration.Use one accent color for key variable; use neutrals for context.
Use Direct LabelingLabel data directly rather than relying on legends, reducing cognitive load.Labels beside lines instead of legend boxes.
Integrate Text, Data, and GraphicsWords should explain the data and appear near what they describe.Annotations placed at the exact point of interest on charts.
Documentation & ContextAlways show scale, units, sourcing, and relevant notes to avoid misinterpretation.Footnotes, axis units, baseline references, data source shown.
Tell the Truth (Avoid Distortion)Maintain ratio between visual distances and the underlying numerical values.Avoid stretched axes, manipulated baselines, and misleading scaling.
Encourage ComparisonVisualizations should make comparisons easy, because comparison is the core of reasoning with data.Same scales across charts, aligned baselines, side-by-side views.

8 Gestalt principles

PrincipleDescriptionApplication Area (Examples)
ProximityElements that are close to one another are perceived as belonging together or forming a group.UI layout, grouping related menu items, dashboard widget organization.
SimilarityItems that share similar attributes (color, shape, size, texture) are perceived as part of the same group.Icon consistency, data visualization (same colors for same categories), branding design.
Continuity (Good Continuation)The eye follows continuous lines or patterns rather than abrupt changes.Navigation flows, timeline designs, line charts, form field alignment.
ClosureWe tend to see complete shapes even when parts are missing. The mind fills gaps.Logo design (e.g., WWF, IBM), simplified illustrations, wireframe iconography.
Figure–GroundWe separate elements into a foreground (focused object) and a background.Hero sections, call-to-action emphasis, contrast-based layout design.
Common RegionElements located within the same bounded area are perceived as grouped.Card components in UI, panels, containers, bordered group boxes.
Common FateObjects that move in the same direction are perceived as related.Loading animations, guided sequences, animated transitions, timelines.
Symmetry & Order (Prägnanz)People perceive designs in the simplest, most stable and symmetrical form possible.Clean grid layouts, typography hierarchy, minimalist interface design.

Color Theory: Shape is less powerful than color.

Data Visualization tools

  1. TIBCO Spotfire
  2. Trifecta
  3. Qlik
  4. Tableau
  5. Microsoft Power BI
  6. Alteryx
  7. SAS
  8. SAP
  9. Sisense
  10. Microstrategy
  11. Salesforce
  12. Datawatch
  13. Zoomdata

D3.JS, R Charts (ggplot2 package), Pentaho, SAP Lumira, TIBCO Spotfire, QlikView, JasperSoft, and Microstrategy are some of the popularly used tools.

Comprehensive Taxonomy of charts

The following are some of the charts types with their descriptions and common use cases, categorized based on purpose. It is recommend to first check the visuals online before using it. Links to examples will be provided wherever possible.

1. Comparison Charts

Used to compare values across categories or groups.

Chart TypeDescriptionCommon Use Case
Bar ChartRectangles represent values across categoriesCompare population by region
Grouped Bar ChartMultiple bars per categoryCompare male vs female across regions
Stacked Bar ChartBars composed of segmentsShow component breakdowns (e.g., age groups)
100% Stacked Bar ChartNormalized stacked bar chartShow proportional composition over categories
Column ChartVertical version of bar chartMonthly trends or survey results
Dot PlotDots aligned to a scaleCompare values when precision matters
Lollipop ChartBar → replaced with line + dotCleaner version of bar charts for presentations
Slope ChartLines connecting category values across two conditionsBefore/after performance comparisons
Radar / Spider ChartValues plotted on radial axesCompare profiles across dimensions (e.g., skill assessments)
Parallel Coordinates PlotMultiple vertical axes comparing record attributesMultivariate pattern analysis
Butterfly / Tornado ChartTwo opposed bar chartsPopulation pyramids; before/after comparisons

2. Distribution Charts

Used to understand how values are spread.

Chart TypeDescriptionUse Case
HistogramBars represent frequency across binsAge or income distribution
Box PlotQuartiles, median, and outliers shownComparing distributions across groups
Violin PlotDensity mirrored around axisVisualizing distribution shape more clearly
Density Plot (KDE)Smoothed histogram curveExplore continuous distribution shape
Rug PlotMarks real data points along axisSupplementary distribution insight
ECDF PlotCumulative distribution visualizationCompare distributions precisely
QQ PlotPlots quantile comparisonsTest normality or distribution fit
Ridgeline / Joy PlotStacked density plotsCompare multiple distributions visually

3. Time Series Charts

Used when data changes over time.

Chart TypeDescriptionUse Case
Line ChartConnects values over timeTrends in population, economy, sales
Multi-Series Line ChartSeveral line charts in oneCompare trends across groups
Step ChartChanges at intervals shown clearlyPolicy or stepwise changes
Area ChartFilled area under lineShow cumulative or magnitude emphasis
Stacked Area ChartAreas layered on one anotherShow contribution over time
Horizon ChartCompressed layered valuesHigh-density timeseries dashboards
SparklineTiny inline trend lineKPIs inside tables
Candlestick ChartOHLC values shown per time periodFinance & trading analysis
StreamgraphSmooth stacked area chartComposition change over time in a fluid way

4. Relationship (Correlation) Charts

Chart TypeDescriptionUse Case
Scatter PlotDots representing paired valuesCorrelation analysis
Bubble ChartThird variable represented by sizeGDP vs Population vs Life Expectancy
Scatterplot MatrixMatrix of scatterplotsExplore correlations across many variables
Heatmap (Correlation)Colors indicate relationship strengthFeature selection in ML
Trendline / Regression PlotFitted relationship linePrediction or causality hinting
Hexbin PlotDensity-based scatter alternativeLarge sample bivariate analysis

5. Hierarchical Charts

Chart TypeDescriptionUse Case
Tree DiagramParent-child branchingOrganizational or biological hierarchies
TreemapArea-sized rectangles show proportionHard-drive storage or budget allocations
Sunburst ChartRadial hierarchical displayMulti-level category exploration
Icicle ChartLayered hierarchical rectanglesNavigating nested taxonomies
Circle PackingCircles inside circles by areaProportional hierarchy emphasis

6. Part-to-Whole Charts

Chart TypeDescriptionUse Case
Pie ChartProportions of a wholeVery simple breakdowns
Donut ChartPie chart with center cut outCleaner than pie; easier labeling
Stacked Bar / ColumnSame as comparison categoryWhen showing composition matters
Waterfall ChartShows additive positive/negative contributionsFinancial breakdown (profit & loss)
Funnel ChartProgressive reductionSales pipeline stages
Waffle ChartGrid of 100 squares to show %Infographics

7. Ranking Charts

Chart TypeDescriptionUse Case
Ordered Bar ChartBars sorted high→lowLeaderboards
Bump ChartRank movement over timeSports or market position changes
Pareto ChartSorted bars + cumulative % lineIdentify most influential contributors

8. Spatial / Mapping Charts

Chart TypeDescriptionUse Case
Choropleth MapRegions color-coded by valuePopulation density by region
CartogramRegions distorted by valuePolitical influence, market size
Dot Density MapOne dot = some unitsGeographic population distribution
Heatmap Map (Spatial)Color gradient over areaTemperature / density gradients
Flow MapLines show movementMigration or trade routes
3D Terrain / Elevation MapSurface mapped by heightGeography, climate, geological data

9. Network / Graph Charts

Chart TypeDescriptionUse Case
Node-Link DiagramNodes connected by edgesSocial networks, internet topology
Force-Directed GraphPhysics-based spacingRelationship clustering
Chord DiagramCircular relationship mappingTrade between countries
Sankey DiagramFlow magnitude connectionsEnergy balances; process transitions
Matrix DiagramAdjacency matrix representationRelationship intensities without clutter

10. Advanced / Analytical Charts

Chart TypeDescriptionUse Case
Gantt ChartTask durations across timeProject management
Cohort ChartBehavior of groups over timeRetention analysis
Control ChartProcess stability controlManufacturing QA
Funnel / Conversion ChartStage drop-offProduct analytics
Marimekko / Mosaic PlotRectangle layout by proportionsMarket segmentation
Kaplan–Meier CurveSurvival estimatorMedical survival analysis
DendrogramHierarchical cluster outputMachine learning clustering

Powered by VitePress