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.
β‘ 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 guides marked with π© get periodic updates. The ones marked with π are published in The Stata Gallery. First publication date given in brackets.
Stata graph tips for academic articles (16 Sep 2022)
Parsing Stata dofiles for variable lists π (05 Jul 2022)
Stata graphs: Circular Bar Graphs II (23 Jun 2022)
Spirographs and Parametric plots in Stata π (20 Jun 2022)
Drawing NYTβs spiral plot in Stata π (17 Jun 2022)
Welcome to the Stata Gallery π (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! π© (11 Jan 2022)
The Stata Frames guide (04 Jan 2022)
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 π© (15-Sep-21)
The Art of the Code (27-Aug-21)
Maps in Stata II π© (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 π© (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 π© (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)
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)
A list of my Stata packages:
Package | Version | Updated | Description |
---|---|---|---|
sankey | Package for Sankey diagrams | ||
alluvial | Package for Alluvial charts | ||
circlebar | Package for polar bar graphs | ||
spider | Package for spider plots | ||
treemap | Package for tree maps | ||
circlepack | Package for circlepacking | ||
arcplot | Package for arc plots | ||
marimekko | Package for Marimekko charts | ||
bimap | Package for bi-variate maps | ||
joyplot | Package for ridgeline plots | ||
streamplot | Package for streamplots | ||
delaunay | Delauanay triangulation, convex hull, voronoi tesselations | ||
clipgeo | Polygon and polyline shape clipping | ||
schemepack | A suite of Stata schemes |
The Du Bois Challenge in Stata
30 Day Map Challenge 2021
-
Article: https://medium.com/the-stata-guide/doing-the-2021-30daymapchallenge-with-stata-b1e72f8af78e.
-
Files: #30DayMapChallenge. 20/29 maps were made in Stata.
- Stata UK 2022 (Sep 2022)
- Stata Oceania 2022 (Feb 2022)
- Stata UK 2021 (Sep 2021)
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.
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:
π