# Making a Stacked GitHub Bar Chart [closed]

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).

# Attempt

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

Import["https://raw.githubusercontent.com/antononcube/\
MathematicaForPrediction/master/Misc/GitHubPlots.m"];

Import["https://raw.githubusercontent.com/antononcube/\
MathematicaForPrediction/master/Misc/GitHubDataObjects.m"];

reposToAnalyze = {"WolframClientForPython",
"WolframLanguageForJupyter"};

ghs = Map[MakeGitHubDataObject["WolframResearch", #] &,
reposToAnalyze];
ghComposite = GitHubDataComposite[Unique[], ghs];
ghComposite[
"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];
Grid[{ghDLPlots}]


which yields:

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 TrounevJul 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.

Yes, there is an OOP method implemented for that. Using ghs from your code:
ghs[[1]]["CommitRecords"]