What is d3.js

d3.js is a javaScript library that provides a 'declarative framework' for DOM manipulation and simplified access to SVG. d3 is the work of Mike Bostok and you should spend some time taking a look at the material on his web site to get an idea of the great things that can be done with d3.js

Note that some  visualizations with d3.js do not work with IE8 and below. Chrome and Firefox are ok. I haven't tested Safari yet.

What has d3 to do with this site

This site is primarily about Excel, but more importantly about extending Excel to integrate with all good things out there. I have already covered topics such as Get Data From Google DocsMapping and adding markers to mapsData Driven Mapping applicationsFrom VBA to Google Apps ScriptGoogle VisualizationExcel JSON conversionRest to Excel library and many more. 

Using d3.js as a framework will open up a whole new opportunity for integrating Excel with modern web based visualizations. 


As with many of the other solutions mentioned, in all cases for d3.js integration a web page containing the necessary javaScript will be generated from your Excel data and parameters. There are also a number of d3 examples which are nothing to do with Excel - consider them to be 'post excel liberation' examples.


Here is the list of visualizations available. Each solution is part of the cDataSet.xlsm download.

You want to learn Google Apps Script?

Learning Apps Script, (and transitioning from VBA) are covered comprehensively in my my book, Going Gas - from VBA to Apps script, available All formats are available now from O'Reilly,Amazon and all good bookshops. You can also read a preview on O'Reilly

If you prefer Video style learning I also have two courses available. also published by O'Reilly.
Google Apps Script for Developers and Google Apps Script for Beginners.