Data Visualization in Stata

Video description

Visualizing and graphing data is vital in modern data analytics. Whether you are a data scientist, student of quantitative methods, or a business user, having an understanding of how to visualize data is an important aspect of getting data information across to other stakeholders. Many ways of visualizing data have been devised and some are better than others. However, each method has advantages and disadvantages, and having a solid understanding of what visualization might be best suited is key to delivering a concise and sharp “data message”.

In this course, you will learn some of the most important data visualization methods. The author will also explain, without any equations or complex statistics, what are the advantages and disadvantages of each technique.

You will be shown how each graph can be created, modified, and customized in Stata throughout the course’s journey.

This course will help you learn and understand the basic methods of data visualization. You will also learn, in an easy manner, variations and customizations of basic visualization methods. You will gain experience with different data visualization techniques and how to apply them. After understanding the techniques, you will learn and code many Stata graphs. Finally, you will gain confidence in your ability to modify and create bespoke data visualizations in Stata.

By the end of this course, you will learn many different methods to visualize data and how to generate these yourself in Stata.

What You Will Learn

  • Learn the basics of data visualization
  • Look at graphing in Stata and understand basic plot types
  • Explore intermediate and advanced plot types
  • Learn about the distribution and relationship plots
  • Explore the world of categorical and specialized plots
  • Expand your knowledge on basic to advanced Stata codes


This course is ideally for Stata users, data analysts, data scientists, quantitative degree students, and quantitative business users that have a flair to explore this arena.

Economists, social scientists, political scientists, biostatisticians, and other disciplines will also benefit from this course.

Basic Stata knowledge along with some basic Stata coding (.do files, commands, varlists, and options) is an essential requirement to extract the most out of this course.

About The Author

Franz Buscha: Franz Buscha is a professor of economics at the University of Westminster, which he joined after completing his Ph.D. in economics at Lancaster University. He has been involved in numerous funded research projects from research councils and government departments. He has also contributed to a wide range of projects, including policy evaluation and bespoke econometric advice to UK government departments. Franz has published in leading journals and contributed to numerous policy reports. His research has even been covered by various media outlets. He is an experienced online educator and has published several online courses, including LinkedIn Learning. Franz also has a monthly radio program called Policy Matters on Share Radio.

Table of contents

  1. Chapter 1 : Introduction to the Course
    1. Introduction
  2. Chapter 2 : Graphs for Single Continuous Variables
    1. Introduction to Continuous Data
    2. What is a Histogram?
    3. What is an Unequal Bin Histogram?
    4. Learn Stata - Histograms
    5. What is a Density Plot?
    6. How to Visualize Multiple Densities
    7. Learn Stata - Density plots
    8. What is a Ridgeline Plot?
    9. Learn Stata - Ridgeline Plots
    10. What are Cumulative Density Plots?
    11. Learn Stata - Cumulative density plots
    12. What is a Spike Plot?
    13. Learn Stata - Spike plots
    14. What is a Rootogram Plot?
    15. Learn Stata - Rootogram plots
    16. What is a Box Plot?
    17. Learn Stata - Box plots
    18. What is a Violin Plot?
    19. Learn Stata – Violin Plots
    20. What is a Stem-and-Leaf Plot?
    21. Learn Stata - Stem-and-Leaf Plots
    22. What is a Dot Plot?
    23. Learn Stata - Dot plots
    24. What is a Symmetry Plot?
    25. What is a Quantile-Uniform Plot?
    26. What is a Quantile-Normal Plot?
    27. What is a Quantile-Chi-Squared Plot?
    28. What is a Quantile-Quantile Plot?
    29. Learn Stata - Quantile plots
  3. Chapter 3 : Plots for Single Discrete Variables
    1. What is Discrete Data?
    2. What is a Bar Graph?
    3. Learn Stata - Bar graphs
    4. What is a Pie Chart?
    5. Learn Stata - Pie charts
    6. What is a Dot Chart?
    7. Learn Stata - Dot charts
    8. What is a Radar Plot?
    9. Learn Stata - Radar plots
  4. Chapter 4 : Plots for Two Continuous Variables
    1. What is a Scatter Plot?
    2. Learn Stata - Scatter plots
    3. What is a Heat Plot?
    4. What is a Hex Plot?
    5. Learn Stata - Heat and Hex Plots
    6. What is a Sunflower Plot?
    7. Learn Stata - Sunflower plots
    8. What is a Polar Smoother Plot?
    9. Learn Stata - Polar Smoother Plots
    10. What is a Line of Best Fit?
    11. Learn Stata - Line of Best Fit Plots
    12. What is a Line Plot?
    13. Learn Stata - Line plots
    14. What is an Area Plot?
    15. Learn Stata - Area plots
    16. What is a Range Plot?
    17. Learn Stata - Range plots
    18. What is a Dropline Plot?
    19. Learn Stata - Dropline plots
    20. What is a Rainbow Plot?
    21. Learn Stata - Rainbow plots
  5. Chapter 5 : Plots for Two Discrete Variables
    1. What is a Jitter Plot?
    2. Learn Stata - Jitter plots
    3. What is a Table Plot?
    4. Learn Stata - Table plots
    5. What is a Balloon Plot?
    6. Learn Stata - Balloon plots
    7. What is a Stacked Bar Chart?
    8. Learn Stata - Stacked Bar Graphs
    9. What is a Mosaic Plot?
    10. Learn Stata - Mosaic plots
  6. Chapter 6 : Plots for Three or More Variables
    1. What is a Contour Plot?
    2. Learn Stata – Contour Plots
    3. What is a Bubble Plot?
    4. Learn Stata - Bubble plots

Product information

  • Title: Data Visualization in Stata
  • Author(s): Franz Buscha
  • Release date: March 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781803232300