Nested Stacked Barchart : Indonesian Civil Cervants (2007-2012)

Why nested stacked barchart?

Long ago, after i learned how to use d3 stacked barchart, i attempted to use it to describe real life data of my country’s civil servants hierarchical structure.

And immediatelly realized the limitation of the standard d3 stacked barchart : it can only ‘divided’ itself once. In other words : it only capable of a single depth level structure.

While in real life  : data can be structured deeper than a single level.

I then googled the keyword ‘d3js nested stacked barchart’, and came to no satisfying result whatsoever, seems like everybody in the d3 community is using d3 stack layout or d3 hierarchical barchart to solve problems.

So, i decided to do the calculations myself, and after a lot of time and efforts, here is the result : a stacked barchart which have 2 levels of depth! Just play arround with the controls, and mouseover/touch the bar(s).

Choose Data :

Graph by :

Note : experimental, still not perfect.
The fullwidth version of this graph is here :

And the Indonesian version of fullwidth view here :

British Monarch Family Tree : Force Directed Graph

Force-directed graph application to visualize british monarch family tree, from Queen Victoria to the current Queen Elizabeth II’s grand-children’s children.

How to use : 

  • Use mouse scroll button for zooming.
  • You can drag the family tree.
  • Use the ‘SEARCH’ function to search any family member.
  • The ‘RESET’ button on the upper-left for reset tree zoom and positioning.
Interactive British Monarch Family Tree screenshot

See this visualization in action, click the Fullwidth View button below (desktop only):

Update (Tuesday,9/19/2017) :


  • Since it is already announced, i also add the will be born Baby of Cambridge, the third child of Duke and Duchess of Cambridge to the family tree.
  • A bit of re-touching to the interactivity.

Update  (Friday, 9/22/2017) : Click on Queen Elizabeth II picture node to display succession line to the throne.

Growth Domestic Products of Nations : Bubble-Force Chart

Bubble Chart is easy to understand : it is a chart describing data using bubbles / circle. The radius of the bubble – circle usually reperesents the measurement of the value of data.

Bubble Size by :

Color :

Data By

As a rule of thumb : the smaller the bubble – circle radius, the lesser the data value, the greater the bubble, the larger the value.

This visualization is describing the Growth Domestic Products of various nations around the globe.

Continue reading “Growth Domestic Products of Nations : Bubble-Force Chart”