SFWLtd / govuk-github-caller

Audit languages used in central government GitHub repositories as a background-service and information radiator front-end.
0 stars 0 forks source link

'WinDirStat'-esque view #2

Open alondero opened 8 years ago

alondero commented 8 years ago

Currently the size of a bubble is based purely on the number of repositories - when this is filtered to govt department the absolute numbers drop along with the size of the bubble. It may be better to have the languages sized relatively, and maybe to reduce the whitespace shown as a portion of a rectangle (a bit like this https://upload.wikimedia.org/wikipedia/en/archive/7/72/20140719184335!Windirstat.png)

SFWChrisSmith commented 8 years ago

Looking into this briefly, the rectangle visualisation is known as a Treemap. There appear to be a number of javascript options we can investigate (e.g jstreemap which allows sizing based on various criteria). There is also a treemap npm package which is just a really basic wrapper for a simple js treemap made by d3.