List of guides | Stata packages | Cheat Sheets | Stata presentations | Miscellaneous | Discord | Support!
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.
A Guide to DataViz Books (09 Jul 2024)
The BPLIM workflow for anonymizing confidential data for research (23 Apr 2024)
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)
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 |
---|---|---|---|
alluvial | Package for Alluvial charts | ||
arcplot | Package for arc plots | ||
bimap | Package for bi-variate maps | ||
bumparea | Package for ribbon plots | ||
bumpline | Package for bump line charts | ||
circlebar | Package for polar bar graphs | ||
circlepack | Package for circlepacking | ||
clipgeo | Polygon and polyline shape clipping | ||
delaunay | Delauanay triangles, Convex Hull, Voronoi | ||
joyplot | Package for ridgeline plots | ||
marimekko | Package for Marimekko charts | ||
polarspike | Package for polar spike plots | ||
sankey | Package for Sankey diagrams | ||
schemepack | A suite of Stata schemes | ||
spider | Package for spider plots | ||
splinefit | Package for spline fit plots | ||
streamplot | Package for streamplots | ||
sunburst | Package for sunburst diagrams | ||
treecluster | Package for tree plots | ||
treemap | Package for tree maps | ||
waffle | Package for waffle plots |
Cheat Sheets can be either downloaded from the cheatsheets folder.
The follow two are currently available:
- A0 poster of a Mata CheatSheet
- A3 poster of a Regular Expressions CheatSheet
- StataViz I (Stata UK Conference, Sep 2021)
- StataViz II (Stata Oceania Conference, Feb 2022)
- StataViz III (Stata UK Conference, Sep 2022)
- StataViz IV (Stata Switzerland Conference, Nov 2022)
- StataViz V (Stata Oceania Conference, Feb 2023)
The Du Bois Challenge in Stata
-
Article on Medium: Graph replication: The Du Bois Challenge.
30 Day Map Challenge 2021
-
Article on Medium: Doing the 30 Day Chart Challenge.
-
Files: #30DayMapChallenge. 20 out of 29 maps were made in Stata.
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:
😎