Here's a picture of what I mean by a stacked bar chart:

Question: For the following GitHub repos:

  1. Organization1/Repo1 (branch: branch1)
  2. Organization2/Repo2 (branch: branch2)

How can one make a stacked bar chart of the commits per day? So if, i.e., on 2019-07-08 we had 2 commits in the first repo and 3 commits in the second repo, then the bar chart should show 5 total commits on that date segmented across the two repos.

It would be nice also if we could limit this to a single contributor (say with username contributor1).


EDIT: I can use answers from elsewhere in this site to get part of this question answere, but not all of it. Suppose that we wish to pull data for

  1. WolframResearch/WolframClientForPython
  2. WolframResearch/WolframLanguageForJupyter

We can use



reposToAnalyze = {"WolframClientForPython", 

ghs = Map[MakeGitHubDataObject["WolframResearch", #] &, 
ghComposite = GitHubDataComposite[Unique[], ghs];
 "Plot3D"["ProjectPlanes" -> True, "GlobalTimeOrder" -> False, 
  BoxRatios -> {1, 2, 2}, ImageSize -> {Automatic, 1000}]]

ghDLPlots = 
  Map[GitHubDateListPlot["WolframResearch", #, 
     PlotLabel -> Style[#, "Subsubtitle"], 
     FrameTicks -> {{All, All}, {Automatic, Automatic}}, 
     AspectRatio -> 4] &, reposToAnalyze];

which yields:

enter image description here enter image description here

Problems with this solution:

  1. There is no way (AFAIK) to get information on a particular branch (or for a particular contributor) using antononcube's (wonderful) library.
  2. The graphs are segmented, when I'd like to view these parts as a "whole" (I think the stacked bar chart is the best way to do this, unless I'm mistaken).

closed as off-topic by JimB, rhermans, m_goldberg, garej, Alex Trounev Jul 15 at 15:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – JimB, rhermans, Alex Trounev
If this question can be reworded to fit the rules in the help center, please edit the question.


Thanks for using that package!

There is no way (AFAIK) to get information on a particular branch (or for a particular contributor) using antononcube's (wonderful) library.

Yes, there is an OOP method implemented for that. Using ghs from your code:


enter image description here

  • $\begingroup$ Is there a way to isolate this data on a particular branch? $\endgroup$ – George Jul 10 at 16:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.