Skip to main content
100%

Productising Git History Streamgraph

✓ Published0🌍 Public
KKamalabot
Last edited Jul 9, 2022
Created on Jul 9, 2022

This streamgraph visualizes the commit history of the D3 repository ecosystem, with each layered area representing a separate D3 package and its thickness showing the smoothed number of commits per week. The layer order is determined by each package’s first commit date, revealing the initial monolithic development and later explosion of packages around the 4.0 release. The code uses `d3.stack` with `stackOffsetWiggle`, `d3.area`, and `d3.scaleTime` to render the SVG, alongside the `d3-area-label` library for labels and `array-blur` for data smoothing. Source data comes from a JSON file of all D3 commits.

AI-generated description

This is an experiment in visualizing D3 Git History. Each layer is a D3 repository. The thickness of each layer is the number of commits per week with smoothing applied. This visualization uses a modified Streamgraph technique where the layer order is determined by the time of the first commit. So, as you read the labels from bottom to top, that corresponds to the history of when each repository was introduced.

On the whole, one can see that development occurred in the original monolithic d3 repository from late 2010 to mid 2014. In late 2014 we see an explosion of packages, corresponding to the 4.0 release of D3. Since that great explosion, we see a big push on d3-delaunay in 2018, and ongoing development/maintenance work pretty evenly distributed across the various D3 packages.

This piece was created as a submission for D3 Parade 2021.

It was the starting point for the open source project: stamen/git-history-streamgraph.

ISC Licensed

Similar vizzes