Version 1.7 of #Stata #bimap package is now out which introduced a much requested feature: support for discrete variables.

More info and examples on #GitHub:
https://github.com/asjadnaqvi/stata-bimap

GitHub - asjadnaqvi/stata-bimap: A Stata package for bi-variate maps

A Stata package for bi-variate maps. Contribute to asjadnaqvi/stata-bimap development by creating an account on GitHub.

GitHub

I will upload the map next week on #GitHub after fixing some minor geography issues.

For "getcensus" three useful threads:
https://twitter.com/AsjadNaqvi/status/1578507691378372609

https://twitter.com/toddrjones/status/1597617974478659584

---
RT @narixyoo
Thanks to @asjadnaqvi, we can easily create bivariate maps in @Stata using #bimap package. Here is the step-by-step guide! https://gahwan.com/stata-how-to-create-the-bivariate-map-bi…
https://twitter.com/narixyoo/status/1625717499223322627

Asjad Naqvi on Twitter

β€œJust had a comprehensive look at the @Stata #getcensus (ssc install getcensus, replace) package, that allows direct access to @uscensusbureau's ACS datasets. It's maintained by @c_zippel + team: https://t.co/WrBiUNkXNf”

Twitter

Adding two more #Stata #cartogram #maps for the #USA. The geography is based on the #NYTimes version.

Data is extracted from the #ACS 2021 population estimates using the #getcensus package. Right map uses the new version of #bimap.

The #Stata #bimap package is less than a year old but, this is one of the most used ones. Thank you for all the feedback and comments and suggestions for upgrades! Keep sending them.

---
RT @asjadnaqvi
Dropping a new @Stata package "bimap" for #bivariate #maps:

ssc install bimap, replace

and then simply:

bimap vary varx using shapefile, cut(option) palette(option)

Check it out!!

#dataviz #Stataviz
https://twitter.com/AsjadNaqvi/status/1514230487904145413

Tweet / Twitter

Twitter

One also define any custom color (as names or Hex codes) for starting, last x-axis, and last y-axis #bimap categories, and let the program engine do the rest:

bimap share_afam share_hisp using county_shp2, palette(bluered) clr0(yellow) bins(6) values

One can define any custom set of cut-offs for one or both #bimap axes and show exact scaling of the cutoffs:

bimap share_afam share_hisp using county_shp2, palette(bluered) ///
bins(4) values cutx(10 25 45 75) cuty(10 20 40 50)binsproper

New #bimap palettes can generate any number of bins including color swaps:

bimap share_afam share_hisp using county_shp2, palette(yellowblue) values count bins(6)

bimap share_afam share_hisp using county_shp2, palette(yellowblue) values count bins(6) reverse

A comparison between old (L) & the new #bimap palettes (R):

// old. 3x3 pre-defined
bimap share_afam share_hisp using county_shp2, palette(pinkgreen0) values count

// new. Auto generated
bimap share_afam share_hisp using county_shp2, palette(pinkgreen) values count

#bimap v1.6 @Stata package is now out. Major release with the following upgrades:
- Scalable bins.
- Customize bins.
- Customize colors.
- Dynamic legends.
- Proper spacing of legend bins.
- Several quality of life improvements

Install from GitHub:
https://github.com/asjadnaqvi/stata-bimap

GitHub - asjadnaqvi/stata-bimap: A Stata package for bi-variate maps

A Stata package for bi-variate maps. Contribute to asjadnaqvi/stata-bimap development by creating an account on GitHub.

GitHub

Oh wow nice! Check @gahwan_yoo's blog posts on how to use and map ACS data in @Stata:

https://twitter.com/gahwan_yoo/status/1588238279803285505

I also did a review of the #getcensus command here:

---
RT @gahwan_yoo
Thanks to @asjadnaqvi, we can easily create bivariate maps in @Stata using #bimap package. Here is the step-by-step guide! https://gahwan.com/stata-how-to-create-the-bivariate-map-bimap-package/ The sample bivariate map on …
https://twitter.com/gahwan_yoo/status/1625717499223322627

π†πšπ‘π°πšπ§ on Twitter

β€œI have written a step-by-step guide to using getcensus package in @Stata. Check it out if you are interested in using American Community Survey easily! https://t.co/qs0GO9ihCK”

Twitter