Stata: Advanced statistical software

Stata graph database

A gallery of Stata graphs

Learn to create these graphs with step-by-step guidance from SDAS TechTips
Graph Fourier Transform in Stata
Graph Fourier Transform In Stata
The Mandelbrot Fractal Set
The Mandelbrot Fractal Set
Survival Curve Graph - Multiple curves
Survival Curve Graph - Multiple Curves
Survival Curve with Confidence Intervals
Survival Curve With Confidence Intervals
Transparency in Stata graphs
Transparency In Stata Graphs
Stacked Area Plot
Stacked Area Plot
Producing Multiple Graphs at Once
Producing Multiple Graphs At Once
Survival Curve with Lines to Pinpoint an Obervation
Survival Curve With Lines To Pinpoint An Obervation
Drawing circle using function in Stata
Drawing Circle Using Function In Stata
Creating a bar graph for categorical variables in Stata
Creating A Bar Graph For Categorical Variables In Stata
Violin plot in Stata
Violin Plot In Stata
Including totals in bar graph in Stata
Including Totals In Bar Graph In Stata
Using xtset to produce a panel data graph
Using Xtset To Produce A Panel Data Graph
Graphing the mean of a variable by other variables
Graphing The Mean Of A Variable By Other Variables
Stacked bar graph - reshaping the data
Stacked Bar Graph - Reshaping The Data
Strip plot in Stata
Strip Plot In Stata
A second strip plot in Stata
A Second Strip Plot In Stata
A third strip plot in Stata
A Third Strip Plot In Stata
A fourth Strip plot in Stata
A Fourth Strip Plot In Stata
A fifth strip plot in Stata
A Fifth Strip Plot In Stata
A sixth strip plot in Stata
A Sixth Strip Plot In Stata
Putting data set results into a graph
Putting Data Set Results Into A Graph
Odds ratio graph
Odds Ratio Graph
Paired plot in Stata
Paired Plot In Stata
tsline with confidence intervals - using margins
Tsline With Confidence Intervals - Using Margins
Predictive margins - The marginsplot Command
Predictive Margins - The Marginsplot Command
Generating and graphing predictions in Stata
Generating And Graphing Predictions In Stata
A CI plot in Stata
A Ci Plot In Stata
A Venn Disgram in Stata
A Venn Disgram In Stata
Another Venn diagram with a different command
Another Venn Diagram With A Different Command
a tri plot in Stata
A Tri Plot In Stata
a cat plot in Stata
A Cat Plot In Stata
a second cat plot in Stata
A Second Cat Plot In Stata
a third cat plot in Stata
A Third Cat Plot In Stata
a tab plot in Stata
A Tab Plot In Stata
adding labels - standard error bar chart
Adding Labels - Standard Error Bar Chart
combining graphs and including a common legend in Stata
Combining Graphs And Including A Common Legend In Stata
A spine plot in Stata
A Spine Plot In Stata
using normalden functions in Stata
Using Normalden Functions In Stata
a second spine plot in Stata
A Second Spine Plot In Stata
including a distribution on top of a histogram
Including A Distribution On Top Of A Histogram
including years in your graph title in Stata
Including Years In Your Graph Title In Stata
dispaying part of the histogram
Dispaying Part Of The Histogram
Creating a second row of axis label
Creating A Second Row Of Axis Label
Gap between bars in bar graph
Gap Between Bars In Bar Graph
Changing bar labels
Changing Bar Labels
Colouring bars in order of magnitude
Colouring Bars In Order Of Magnitude
Changing bar labels using the Stata graph editor
Changing Bar Labels Using The Stata Graph Editor
Stacking some levels of a variable and not others
Stacking Some Levels Of A Variable And Not Others
Adding average line to a bar graph
Adding Average Line To A Bar Graph
Different colour bars
Different Colour Bars
Making Choropleth Maps in Stata - for COVID-19
Making Choropleth Maps In Stata - For Covid-19
Box Plot with Whiskers
Box Plot With Whiskers
Overlaying Histogram
Overlaying Histogram
Candlestick Plot
Candlestick Plot
Box Plot
Box Plot
Line Chart with Multiple Highlighted Bars
Line Chart With Multiple Highlighted Bars
Separated Bar Graphs
Separated Bar Graphs
Wide Margin Clusters Graph
Wide Margin Clusters Graph
Simple Scatter Plot by Categories
Simple Scatter Plot By Categories
Simple Mean Plot by Categories
Simple Mean Plot By Categories
Using Special Fonts in Graphs
Using Special Fonts In Graphs
Graph with Bullet Points
Graph With Bullet Points
Line Chart with Highlighted Bars
Line Chart With Highlighted Bars
Line Chart with a Subsection Filled
Line Chart With A Subsection Filled
Combined Bar Chart with Line Graph
Combined Bar Chart With Line Graph
Scatter Plot with 'Y' Axis Offset
Scatter Plot With 'Y' Axis Offset
Simple Two-sided Bar Chart
Simple Two-Sided Bar Chart
Simple Heat Map
Simple Heat Map
Setting a Random Seed
Setting A Random Seed
Comparative Line Graph
Comparative Line Graph
Detail and Summary Box Plots
Detail And Summary Box Plots
Box Plot with Whiskers and Outliers
Box Plot With Whiskers And Outliers
Creating a Program with a Labeled Histogram
Creating A Program With A Labeled Histogram
Segregated Clusters Graph
Segregated Clusters Graph
Segregated Clusters Graph (Coloured)
Segregated Clusters Graph (Coloured)
Bar Graph with No Gaps
Bar Graph With No Gaps
Grouped Horizontal Bar Graph
Grouped Horizontal Bar Graph
Partially Stacked Vertical Line Graph
Partially Stacked Vertical Line Graph
Clustered Categories Graph
Clustered Categories Graph
A Cycle Plot in Stata
A Cycle Plot In Stata
Variable Cross Plot in Stata
Variable Cross Plot In Stata
Beam Plot in Stata
Beam Plot In Stata
Hangroot Graph in Stata
Hangroot Graph In Stata
Binary Variable Histogram in Stata
Binary Variable Histogram In Stata
A Second Binary Variable Histogram in Stata
A Second Binary Variable Histogram In Stata
A Matrix Plot in Stata
A Matrix Plot In Stata
Combining Graphs in Stata
Combining Graphs In Stata
Easily Generate Six Diagnostic Plots at Once for a Single Variable
Easily Generate Six Diagnostic Plots At Once For A Single Variable
A Network Plot in Stata
A Network Plot In Stata
A Histogram Plot of Conditional Means
A Histogram Plot Of Conditional Means
Means-Centered Confidence Ellipse Plots
Means-Centered Confidence Ellipse Plots
Transparency Highlights Overlap in Range Area Graphs in Stata
Transparency Highlights Overlap In Range Area Graphs In Stata
Create a Link Plot in Stata
Create A Link Plot In Stata
A Bivariate Kernel Density Graph in Stata
A Bivariate Kernel Density Graph In Stata
A Deviation Plot in Stata
A Deviation Plot In Stata
A horizontal Bar Graph in Stata
A Horizontal Bar Graph In Stata
A Mata Matrix Plot in Stata
A Mata Matrix Plot In Stata
Cumulative Distribution Plot
Cumulative Distribution Plot
Scatter Plot with Linear Line of Best Fit
Scatter Plot With Linear Line Of Best Fit
Scatter Plot with Convex Hulls in Stata
Scatter Plot With Convex Hulls In Stata
Pareto Dot Plot in Stata
Pareto Dot Plot In Stata
Create and Graph Fractals in Stata
Create And Graph Fractals In Stata
Plot a Set of p-values From a Monte Carlo Simulation to Compare with the Nominal Significance
Plot A Set Of P-Values From A Monte Carlo Simulation To Compare With The Nominal Significance
A Scatter Plot in Stata with Reduced Noise
A Scatter Plot In Stata With Reduced Noise
Reference Graph for Writing ASCII Characters in Stata
Reference Graph For Writing Ascii Characters In Stata
Making Choropleth Maps in Stata
Making Choropleth Maps In Stata
Making Choropleth Maps for COVID19 in Stata - Aus/NZ
Making Choropleth Maps For Covid19 In Stata - Aus/Nz
A COVID-19 Choropleth Map for Indonesia
A Covid-19 Choropleth Map For Indonesia
A Centred Bar Plot in Stata
A Centred Bar Plot In Stata
Making Choropleth Maps for COVID19 in Stata - NZ
Making Choropleth Maps For Covid19 In Stata - Nz
A Time Series Slice Plot in Stata
A Time Series Slice Plot In Stata
A Density Heat Map in Stata
A Density Heat Map In Stata
A Lexis Plot in Stata
A Lexis Plot In Stata
A Matrix Heat Map in Stata
A Matrix Heat Map In Stata
A 3D Surface Plot in Stata
A 3D Surface Plot In Stata
Generate a Colour Choice Palette in Stata to Choose Your Graph Colours
Generate A Colour Choice Palette In Stata To Choose Your Graph Colours
A Radar Chart in Stata
A Radar Chart In Stata
A Bland-Altman Difference Plot in Stata
A Bland-Altman Difference Plot In Stata
A Chernoff Face Diagram in Stata
A Chernoff Face Diagram In Stata
A Trellis Graph Array in Stata
A Trellis Graph Array In Stata
Create an Easy Categorical Pie Chart in Stata
Create An Easy Categorical Pie Chart In Stata
Graph and Identify Missing Values in Stata
Graph And Identify Missing Values In Stata
A Sparkline Plot in Stata
A Sparkline Plot In Stata
Automatically Generate Linear Axis Range in Stata
Automatically Generate Linear Axis Range In Stata
Assign Marker Label Positions Automatically for Graphs in Stata
Assign Marker Label Positions Automatically For Graphs In Stata
Stata Bar Graph with Counts Labelled on the Bars
Stata Bar Graph With Counts Labelled On The Bars
Adding a Scale Break to Your Graph in Stata
Adding A Scale Break To Your Graph In Stata
Create a Capped Spike with the Separated Subcategories Labelled
Create A Capped Spike With The Separated Subcategories Labelled
Create a Graph of Variable Names with Sizes Altered by a Factor
Create A Graph Of Variable Names With Sizes Altered By A Factor
Expand a Graph into Two for Easier Viewing
Expand A Graph Into Two For Easier Viewing
Stacked Bar Graph with Labels
Stacked Bar Graph With Labels
Horizontal Bar Graph with Y-Axis Labels
Horizontal Bar Graph With Y-Axis Labels
Add a Justified Text Block to your Graph in Stata
Add A Justified Text Block To Your Graph In Stata
Add Custom Labels to your Bar Graph
Add Custom Labels To Your Bar Graph
Fix Long Bar Graph Labels to Run Over Several Lines
Fix Long Bar Graph Labels To Run Over Several Lines
Combining Stacked Bar Graphs with a Common Legend
Combining Stacked Bar Graphs With A Common Legend
Add a Table to the Bottom of your Graph
Add A Table To The Bottom Of Your Graph
Add a Table to your Graph with the Graph Editor
Add A Table To Your Graph With The Graph Editor
Add a Table to your Graph using Macros and Loops
Add A Table To Your Graph Using Macros And Loops
Add Confidence Intervals to your Bar Graph
Add Confidence Intervals To Your Bar Graph
Add Confidence Intervals by Category
Add Confidence Intervals By Category
Create an Odds Ratio Graph in Stata
Create An Odds Ratio Graph In Stata
Odds Ratio Graph with Ordered Bar
Odds Ratio Graph With Ordered Bar
A Paired Plot in Stata
A Paired Plot In Stata
A Paired Plot with Joined Lines for Each Observation
A Paired Plot With Joined Lines For Each Observation
A Paired Plot with Arrows Showing Change
A Paired Plot With Arrows Showing Change
A Parallel Coordinate Plot in Stata
A Parallel Coordinate Plot In Stata
An Arrow Flow Diagram in Stata
An Arrow Flow Diagram In Stata
Use a String Variable to Label A Numeric Variable for Graph Category Labels
Use A String Variable To Label A Numeric Variable For Graph Category Labels
Contour Plots in Stata
Contour Plots In Stata
Change the Order of Graphs Made Using By in Stata
Change The Order Of Graphs Made Using By In Stata
Adding a Second Axis with the Same Equivalent Values as the First
Adding A Second Axis With The Same Equivalent Values As The First
Create a Set of Graph Panels by Multiple Categorical Variables
Create A Set Of Graph Panels By Multiple Categorical Variables
Create and Combine Graph of Every Numeric Variable in Dataset
Create And Combine Graph Of Every Numeric Variable In Dataset
Another Density Heat Map in Stata
Another Density Heat Map In Stata
A Sequence Plot in Stata
A Sequence Plot In Stata
Scatter Plot With Offset Axes
Scatter Plot With Offset Axes
Overlaying Bar Chart
Overlaying Bar Chart
Graph with Fitted Values
Graph With Fitted Values
Fitted Values Scatter Plot
Fitted Values Scatter Plot
Simple Histogram
Simple Histogram
Distribution plot in Stata
Distribution Plot In Stata
Vertically Stacked Bar Graph
Vertically Stacked Bar Graph
Clustered Bar Chart
Clustered Bar Chart
A Dot Map in Stata
A Dot Map In Stata

Powerful publication ready graphics

Stata 17: Create meaningful, truthful, interpretable graphics in publication ready formats for use in journals, newspapers, textbooks and on the web.

Tell your data story with Stata graphics.

Do you have a Stata graph that you would like to share with the world?
Share my graph
Want to learn more on Stata graphics? Try one of the great Stata Press publications on graphics.
Books on Stata Graphics