avatarAsjad Naqvi

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3480

Abstract

dn-images-1.readmedium.com/v2/resize:fit:800/1*x2-ZTdMRGcmtNShGF3W1nQ.png"><figcaption></figcaption></figure><figure id="ced7"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*ZIxkRrATv6yaS75R74lSRA.png"><figcaption><a href="https://github.com/asjadnaqvi/stata-streamplot">streamplot</a> and <a href="https://github.com/asjadnaqvi/stata-sunburst">sunburst</a></figcaption></figure><figure id="3c75"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*GdWbvExj6Gwo1hav0gMqBw.png"><figcaption></figcaption></figure><figure id="7d19"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*ROOIUam14l0SVT6VASDuYg.png"><figcaption><a href="https://github.com/asjadnaqvi/stata-treecluster">treecluster</a> and <a href="https://github.com/asjadnaqvi/stata-treemap">treemap</a></figcaption></figure><p id="cc59">Each package has it’s own <a href="https://github.com/asjadnaqvi">GitHub respository</a> where the latest versions are released:</p><figure id="5872"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*raUiwyfPgoLvYNPWW5Yd5A.png"><figcaption><a href="https://github.com/asjadnaqvi">https://github.com/asjadnaqvi</a></figcaption></figure><p id="3fc7">These releases are also pushed to SSC to allow users to easily install them: <code>ssc install <packagename>, replace</code>.</p><p id="6bac">I will be slowly updating the guides as well to redirect users to move on to the packages. The guides are still relevant in case you want to go for a high level of customization for very specific applications. But if you are looking for single-line commands, then please install the relevant packages and start with their documentation and examples.</p><p id="27f9">2) <a href="https://medium.com/the-stata-gallery"><b>The Stata Gallery</b></a> on Medium was launched:</p><figure id="593d"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*7Bk26ynG601OIIyyPrtX9g.png"><figcaption><a href="https://medium.com/the-stata-gallery">https://medium.com/the-stata-gallery</a></figcaption></figure><p id="32d0">This space allows Stata users to submit their awesome articles on data visualizations, programming, and various innovative content. If you have some amazing code, or program, or tip to share, then please reach out if you want to contribute!</p><p id="81e1">3) I launched my Stata visualization, or<b> StataViz portfolio</b> on a dedicated <a href="https://asjadnaqvi.github.io/stata-portfolio/tags/portfolio/">website</a>:</p><figure id="2558"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*pjPW6xIkpJOrJP6g6RwiJQ.png"><figcaption><a href="https://asjadnaqvi.github.io/stata-portfolio/">https://asjadnaqvi.github.io/stata-portfolio/</a></figcaption></figure><p id="c713">It contains all the visualizations from 2020 onwards. It also helps me showcase the power of Stata and centralizes all my work in one place. Check it out!</p><p id="3960">If you are not on <a href="https://twitter.com/AsjadNaqvi">Twitter</a> or <a href="https://www.linkedin.com/in/asjadnaqvi/">LinkedIn</a> or even the recently-launched <a href="https://econtwitter.net/@asjadnaqvi">Mastodon</a>, then you probably missed all this action in 2022. It was a year of intensive coding and learning new programming skills. Each package brought with it new challenges, and solving them was the exciting part. Some packages were also followed by a barage of requests to fix bugs, add features, and various other enhancme

Options

nts. The post package-release engagement was a good litmus test of how much they are being used.</p><p id="bda6">The development focus of 2022 was also anchored to the three Stata conferences — Oceania (Feb), UK (Sep), and Switzerland (Nov)— which provided natural deadlines to release new packages. You can view the presentations on the <a href="https://github.com/asjadnaqvi/The-Stata-Guide/tree/master/presentations">Stata Guide’s GitHub</a> repository.</p><p id="be57">Some of the earlier (and relatively easier) dataviz guides posted on Medium were converted into ado files. The demand was fairly high and honestly, most Stata users probably do not want to go the extra mile to write a massive script just to make one fancy graph. Furthermore, the Stata Guide was reaching a point where further data visualization guides would have meant going into extremely long, programming-heavy articles. Since I track my stats for articles on Medium and on social media, this was definitely not worth the hassle. Viewership and readership for similar articles is already very low! You can see this entry that periodically tracks the statistics:</p><div id="cab3" class="link-block"> <a href="https://readmedium.com/welcome-to-the-stata-guide-12adf81ec3d"> <div> <div> <h2>Welcome to the Stata Guide</h2> <div><h3>A post to help you navigate the Guide, provide an overview, and share some user statistics.</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*emVvNkBo0FjUUDH-shwMAw.png)"></div> </div> </div> </a> </div><p id="63a1">In contrast, the easy-to-use dataviz packages and customization capabilities now gives me a lot of material to write about! Additionally, programming all these packages myself gives me the creative control to make sure that the aesthetics remain central to the visualizations. Thus, a lot of effort was put into getting the color palettes, marker sizes, line widths, and a bunch of other elements right. Most of the visually appealing aspects have been added as defaults so you get the right visual feel even with the most basic use.</p><p id="ff8d">So expect more dataviz articles in 2023!</p><h1 id="7589">About the author</h1><p id="3938">I am an economist by profession and I have been using Stata since 2003. I am currently based in Vienna, Austria. You can see my profile, research, and projects on <a href="https://github.com/asjadnaqvi">GitHub</a> or my <a href="https://asjadnaqvi.github.io/">website</a>. You can connect with me via <a href="https://medium.com/@asjadnaqvi">Medium</a>, <a href="https://twitter.com/AsjadNaqvi">Twitter</a>, <a href="https://www.linkedin.com/in/asjad-naqvi-phd-9a539512/">LinkedIn</a>, <a href="https://econtwitter.net/@asjadnaqvi">Mastodon</a>, <a href="https://post.news/asjadnaqvi">Post</a>, or simply via email: <i>[email protected]</i>. If you have questions regarding the Guide or Stata in general post them on <a href="https://discord.gg/qpHZtX6Xkk"><b>The Code Block</b></a> Discord server.</p><p id="0eb1"><a href="https://medium.com/the-stata-guide">The Stata Guide</a> releases awesome new content regularly. <a href="https://asjadnaqvi.medium.com/about">Subscribe</a>, Clap, and/or Follow the guide if you like the content!</p></article></body>

Photo by Planet Volumes on Unsplash

Updates from 2022 and plans for 2023

Dear readers,

First of all, apologies for the hiatus from Medium! I didn’t write much in 2022, but your activity and engagements kept this Stata corner going. Plus this doesn’t mean that no work on data visualizations happened. On the contrary, three major developments took place:

1) I released 16 data visualization packages! Here is a preview of the packages in alphabetical order:

alluvial and arcplot
bimap and circlebar
circlepack and clipgeo
delaunay and joyplot
marimekko and sankey
schemepack and spider
streamplot and sunburst
treecluster and treemap

Each package has it’s own GitHub respository where the latest versions are released:

https://github.com/asjadnaqvi

These releases are also pushed to SSC to allow users to easily install them: ssc install <packagename>, replace.

I will be slowly updating the guides as well to redirect users to move on to the packages. The guides are still relevant in case you want to go for a high level of customization for very specific applications. But if you are looking for single-line commands, then please install the relevant packages and start with their documentation and examples.

2) The Stata Gallery on Medium was launched:

https://medium.com/the-stata-gallery

This space allows Stata users to submit their awesome articles on data visualizations, programming, and various innovative content. If you have some amazing code, or program, or tip to share, then please reach out if you want to contribute!

3) I launched my Stata visualization, or StataViz portfolio on a dedicated website:

https://asjadnaqvi.github.io/stata-portfolio/

It contains all the visualizations from 2020 onwards. It also helps me showcase the power of Stata and centralizes all my work in one place. Check it out!

If you are not on Twitter or LinkedIn or even the recently-launched Mastodon, then you probably missed all this action in 2022. It was a year of intensive coding and learning new programming skills. Each package brought with it new challenges, and solving them was the exciting part. Some packages were also followed by a barage of requests to fix bugs, add features, and various other enhancments. The post package-release engagement was a good litmus test of how much they are being used.

The development focus of 2022 was also anchored to the three Stata conferences — Oceania (Feb), UK (Sep), and Switzerland (Nov)— which provided natural deadlines to release new packages. You can view the presentations on the Stata Guide’s GitHub repository.

Some of the earlier (and relatively easier) dataviz guides posted on Medium were converted into ado files. The demand was fairly high and honestly, most Stata users probably do not want to go the extra mile to write a massive script just to make one fancy graph. Furthermore, the Stata Guide was reaching a point where further data visualization guides would have meant going into extremely long, programming-heavy articles. Since I track my stats for articles on Medium and on social media, this was definitely not worth the hassle. Viewership and readership for similar articles is already very low! You can see this entry that periodically tracks the statistics:

In contrast, the easy-to-use dataviz packages and customization capabilities now gives me a lot of material to write about! Additionally, programming all these packages myself gives me the creative control to make sure that the aesthetics remain central to the visualizations. Thus, a lot of effort was put into getting the color palettes, marker sizes, line widths, and a bunch of other elements right. Most of the visually appealing aspects have been added as defaults so you get the right visual feel even with the most basic use.

So expect more dataviz articles in 2023!

About the author

I am an economist by profession and I have been using Stata since 2003. I am currently based in Vienna, Austria. You can see my profile, research, and projects on GitHub or my website. You can connect with me via Medium, Twitter, LinkedIn, Mastodon, Post, or simply via email: [email protected]. If you have questions regarding the Guide or Stata in general post them on The Code Block Discord server.

The Stata Guide releases awesome new content regularly. Subscribe, Clap, and/or Follow the guide if you like the content!

Stata
Dataviz
2023
2022
Blog
Recommended from ReadMedium