Sunburst chart – top 10 cities

In this section, we will learn about a different type of chart that we have not seen so far in this chapter. But first, let's put forward the use case.

We want to find the unique users per channel, city name, and namespace at all three levels; that is, the graphic should be able to show us the:

  • Unique users per channel
  • Unique users per channel/city name
  • Unique users per channel/city name/namespace

In order to show this kind of hierarchical data, we can use a sunburst chart.

Let's check out what type of values we need to select to render this type of chart:

UI Location

Graphic

Explanation

Sidebar

Choose the Datasource as [druid-ambari].[wikiticker] and the graphic type as Sunburst. In the

Get Modern Big Data Processing with Hadoop now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.