Creating d3.js tree diagrams straight out of Excel

Last week I posted how to create Sankey (flow) diagrams straight out of Excel. Let’s continue on that d3.js theme today with how to create d3.js tree diagrams straight out of Excel

First of all thanks to Pavan Podila for the d3.js tree example , and of course to Mike Bostok who created d3.js.

Here’s an example

The input data to this is just a simple Excel table of parent/child keys like this

This mainly works on Chrome and Firefox. I’ve more or less given up on IE. You can see how this is done and download the workbook and code on the ramblings site.

 

About brucemcp 223 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


12 + 13 =