D3.js Tutorials and Projects

D3.js is one of my favourite libraries for visualising data in interesting and useful ways. Its power to manipulate SVG's to create visualisations means you are able to customise any dimension of your data display.

I enjoy using it to create data visualisations to illustrate data and to ease the explanation of statistical data.

In addition I create tutorials for myself and others to show off some of the features of D3.js and post about it on my blog.

D3.js projects and tutorials

  • D3.js and Leaflet - In this tutorial I show how you can combine D3.js and Leaflet to overlay SVG data in D3.js onto a Leaflet map.
  • D3.js version 5 Data Binding Example - This tutorial goes through the process of binding data to elements and creating a simple updatable SVG graphic using D3.js version 5.
  • D3.js version 5 Drawing Shapes - D3.js has a number of built-in symbols which can be used for any data visualisation needs. This tutorial goes through how you can use these with D3.js version 5.
  • D3.js version 5 Scatterplot with Shapes - This tutorial goes through how you can create a scatter plot with D3.js version 5 by updating Mike BostocksĀ version 3 graph. This includes showing how to have custom shapes with your scatter plot and the version 5 changes.