All examples By author By category About


Sequences sunburst (d3 v4)

(This is a minimal update of my original Sequences sunburst block, to work correctly with d3 v4.)

This example shows how it is possible to use a D3 sunburst visualization (partition layout) with data that describes sequences of events.

A good use case is to summarize navigation paths through a web site, as in the sample synthetic data file (visit_sequences.csv). The visualization makes it easy to understand visits that start directly on a product page (e.g. after landing there from a search engine), compared to visits where users arrive on the site's home page and navigate from there. Where a funnel lets you understand a single pre-selected path, this allows you to see all possible paths.


If you want to simply reuse this with your own data, here are some tips for generating the CSV file:

I created this example in my work at Google, but it is not part of any Google product. It is covered by the Apache license (see the LICENSE file).

forked from kerryrodden's block: Sequences sunburst (d3 v4)