Sub-account hierarchy visualiser for Canvas LMS

Apurba_N
Community Member
1
390

Sharing a small admin tool I wrote in Python that is able to render sub-account hierarchies for the Canvas Learning Management System in the form of a tree graph. You’re also able to export the raw JSON for the graphs and chuck them into any data visualisation platform of your choice.

I’m hoping this will come in handy for Canvas admins needing to inspect large, complex org structures, explain your institutional sub-account structure to vendors and stakeholders, or just wanting to generate pretty graphs for presentations!

The tool makes use of the Canvas API to load a subaccount (along with its nested subaccounts) of your choice (provided you're an Admin in said subaccount) and employs D3.JS to render tree-graphs that represent the subaccount hierarchy. You're able to adjust the root node to inspect each nested subaccount individually or in a holistic way, and export the raw JSON data for the graphs to pass to any visualisation platform/application of your choice.  

You can get the tool and run it locally from this Github repo here: https://github.com/apurbzz-1994/canvaslms-subaccount-visualiser

 

1 Comment
rtoon
Community Contributor

Very nice. I am going to check this out at my soonest convenience. I've been meaning to do something very similar and just haven't found the time to go into this level of detail.

Does it include permissions/roles that are defined at different subaccounts? If not, that'd be a very helpful thing to add and I may do a PR to add it myself if the opportunity arises.