RepositoryStataATAustria
asjadnaqvi

asjadnaqvi/The-Stata-Guide

Files for the Stata Guide on Medium https://medium.com/the-stata-guide

188stars
56forks
2issues
1views

List of guides | Stata packages | Cheat Sheets | Stata presentations | Miscellaneous | Discord | Support!


Welcome to the Stata Guide!

This repository contains various links and files to help you navigate The Stata Guide on Medium and my contributions to the The Stata Gallery. You can get an overview in the Welcome to the Stata Guide article to help you navigate.

:zap: All the data files used in various guides were moved to a single folder data. If you are using one of the earlier guides, and the link has not been updated there, then please go to the data folder, click on the file, and right click on the "raw", and copy link address. Also let me know by creating an Issue so I can fix these asap.

The list of guides

The guides marked with :triangular_flag_on_post: get periodic updates. The ones marked with :trophy: are published in The Stata Gallery. First publication date given in brackets.

2024

A Guide to DataViz Books (09 Jul 2024)

The BPLIM workflow for anonymizing confidential data for research (23 Apr 2024)

2023

Reproducing a viral USA tilemap in Stata (26 Aug 2023)

Maps in Stata III: geoplot (02 Jul 2023) (Updated: 15 Jul 2024)

Stata graphs: Raincloud plots (29 Mar 2023)

Updates from 2022 and plans for 2023 (05 Jan 2023)

2022

Stata graph tips for academic articles (16 Sep 2022)

Parsing Stata dofiles for variable lists :trophy: (05 Jul 2022)

Stata graphs: Circular Bar Graphs II (23 Jun 2022)

Spirographs and Parametric plots in Stata :trophy: (20 Jun 2022)

Drawing NYT’s spiral plot in Stata :trophy: (17 Jun 2022)

Welcome to the Stata Gallery :trophy: (16 Jun 2022)

Stata graphs: Waterfall charts (15 Jun 2022)

Stata graphs: Half Sunburst plot (29 Apr 2022)

Stata graphs: Mosaic (Marimekko) plots (20 Apr 2022)

The Power of Precision (05 Apr 2022)

Stata graphs: Circular bar graphs (11 Mar 2022)

The awesome Stata Tips collection! :triangular_flag_on_post: (11 Jan 2022)

The Stata Frames guide (04 Jan 2022)

2021

Stata graphs: Tilemaps part II - USA (16 Dec 2021)

Stata graphs: Tilemaps part I - Africa (14 Dec 2021)

Stata graphs: Bi-variate maps (07-Dec-21)

Doing the 2021 #30DayMapChallenge with Stata (02-Dec-21)

Stata graphs: Sankey diagram (26-Oct-21)

Stata graphs: Waffle charts (12-Oct-21)

Stata graphs: Arc plots (06-Oct-21)

Welcome to the Stata Guide :triangular_flag_on_post: (15-Sep-21)

The Art of the Code (27-Aug-21)

Maps in Stata II :triangular_flag_on_post: (10-Aug-21)

Stata graphs: Rose (Coxcomb) plots (19-Jul-21)

Maximum Likelihood Estimation (MLE) (05-Jul-21)

Mata: Stata’s End Game (A0 cheatsheet poster) (24-Jun-21)

The Stata Workflow Guide :triangular_flag_on_post: (07-Jun-21)

Stata and GitHub Integration (27-Apr-21)

Advanced Mapping with Stata: OpenStreetMap (OSM) and QGIS (19-Apr-21)

Stata schemes (13-Apr-21)

Stata graph replication: The Du Bois Challenge Additional files (31-Mar-21)

Stata graphs: Reprogramming maps (30-Mar-21)

Stata graphs: Spirals and text wrapping (29-Mar-21)

Regular expressions (regex) in Stata (A3 cheatsheet poster) (17-Mar-21)

Stata graphs: Programming pie charts from scratch (10-Mar-21)

The Stata-to-LaTeX guide :triangular_flag_on_post: (25-Feb-21)

Stata graphs: Hearts ♥ (14-Feb-21)

Stata graphs: Symbols (08-Feb-21)

Stata graphs: Spider plots (26-Jan-21)

Stata graphs: Polar (Radial) Plots (19-Jan-21)

Stata graphs: How to add arrows to your line graphs (07-Jan-21)

2020

Why the Stata Guide on Medium? (12-Dec-20)

COVID-19 visualizations with Stata Part 10: Stream graphs (09-Dec-20)

COVID-19 visualizations with Stata Part 9: Customized bar graphs (01-Dec-20)

Stata graphs: Define your own color schemes (23-Nov-20)

Stata graphs: Hex maps of the 2020 USA Presidential elections (09-Nov-20)

Stata graphs: Get those fonts right (03-Nov-20)

COVID-19 visualizations with Stata Part 8: Ridgeline plots (Joy plots) (30-Oct-20)

COVID-19 visualizations with Stata Part 7: Doubling time graphs (10-Oct-20)

Automating Eurostat in Stata (01-Oct-20)

COVID-19 visualizations with Stata Part 6: Animations (23-Sep-20)

COVID-19 visualizations with Stata Part 5: Stacked area graphs (16-Sep-20)

COVID-19 visualizations with Stata Part 4: Maps (07-Sep-20)

COVID-19 visualizations with Stata Part 3: Heat plots (02-Sep-20)

COVID-19 visualizations with Stata Part 2: Customizing color schemes (29-Aug-20)

COVID-19 visualizations with Stata Part 1: An Introduction to data setup and customized graphs (25-Aug-20)

Stata packages

A list of my Stata packages:

PackageVersionUpdatedDescription
alluvialversionreleasePackage for Alluvial charts
arcplotversionreleasePackage for arc plots
bimapversionreleasePackage for bi-variate maps
bumpareaversionreleasePackage for ribbon plots
bumplineversionreleasePackage for bump line charts
circlebarversionreleasePackage for polar bar graphs
circlepackversionreleasePackage for circlepacking
clipgeoversionreleasePolygon and polyline shape clipping
delaunayversionreleaseDelauanay triangles, Convex Hull, Voronoi
geoboundaryversionreleaseFetching administrative boundaries
geoflowversionreleaseGenerating spatial arcs
graphfunctionsversionreleaseHelper functions for figures
joyplotversionreleasePackage for ridgeline plots
marimekkoversionreleasePackage for Marimekko charts
polarspikeversionreleasePackage for polar spike plots
sankeyversionreleasePackage for Sankey diagrams
schemepackversionreleaseA suite of Stata schemes
spiderversionreleasePackage for spider plots
splinefitversionreleasePackage for spline fit plots
streamplotversionreleasePackage for streamplots
sunburstversionreleasePackage for sunburst diagrams
ternaryversionreleasePackage for tri-variate plots
treeclusterversionreleasePackage for tree plots
treemapversionreleasePackage for tree maps
trimapversionreleasePackage for tri-variate maps
waffleversionreleasePackage for waffle plots

Cheat Sheets

Cheat Sheets can be either downloaded from the cheatsheets folder.

The follow two are currently available:

Stata presentations

Miscellaneous

The Du Bois Challenge in Stata

30 Day Map Challenge 2021

Discord server

Hop in the The Code Block Discord server and ask your questions!

I get a lot of e-mails with code and data files and now it is hard to keep track on who is requesting what. At least in Discord several people can answer your questions. This also helps document the problems for other people.

How can you support the guides?

These guides are meant as a public service and I really enjoy writing them and getting feedback from you guys.

But if you want to support the content creation, then you can:

(a) become a member on Medium and subscribe and read the guides. This gives you access to a lot of other awesome content as well.

or

(b) you can:

"Buy Me A Coffee!!"

:sunglasses:

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

162.3k
Dec 2, 2026
RepositoryPython
apache/airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

47.7k
Nov 29, 2026
RepositoryPython
PrefectHQ/prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.

24.3k
Nov 30, 2026
RepositoryVue
AutomaApp/automa

A browser extension for automating your browser by connecting blocks

21.7k
Mar 2, 2026
RepositoryPython
Avaiga/taipy

Turns Data and AI algorithms into production-ready web applications in no time.

19.5k
Aug 10, 2026
RepositoryJavaScript
apexcharts/apexcharts.js

📊 Interactive JavaScript Charts built on SVG

15.2k
Nov 18, 2026
RepositoryJavaScript
apexcharts/apexcharts.js

📊 Interactive JavaScript Charts built on SVG

15.2k
Nov 18, 2026
RepositoryTypeScript
jacomyal/sigma.js

A JavaScript library aimed at visualizing graphs of thousands of nodes and edges

12.3k
Nov 27, 2026