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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.