NLP using Tableau

Ankita Kumar
4 min readMar 8, 2019

--

What is NLP?

NLP refers to Natural Language Processing . It is the ability of the computer program or algorithm to understand the human language and react according to it.

Tableau has come with a new capability “AskData” to perform Natural Language Processing. Now it can understand what the developers expect from their charts.

What is AskData????

Over the past few years, Tableau had been doing a lot of research in the field of Natural Language Processing(NLP).

Finally it has released its new natural language capability, “AskData” which is still in the Beta version.

I tried to interact with AskData to create my reports and get my results and believe me, it really gives an amazing experience to use Tableau. You can ask and derive any answers from the Tableau workbook using this NLP capability.

You can now converse with your data and ask anything like

: what would be the highest profit for the year 2010?

What are the top 10 sales by state?

N many more.

It will create a chart to explain you the answer.

You don’t believe me?

Cool.

Let me give you a quick demo to this mind boggling capability.

Demo

Go to the following link to have a view of how this thing works.

https://www.tableau.com/products/new-features/ask-data/demo

and then click on the “Try the Interactive Demo”.

You can make any charts and derive results without dragging the dimensions and measures using the manual way you used to.

You just need to write whatever you expect your chart to do.

For example: Top 10 sales by country as a bar chart

Will create a bar chart with the results on its own.

Let us see a small demo of it.

  1. Try out the interactive demo in the link provided above.

This will redirect you to the following page.

This consists of some data extracts provided by Tableau. Let us use the “Airbnb Boston Data”. Select the data source .

2.Now you are redirected to the Askdata page which consists of the pane where you can ask the data whatever you want to achieve along with the dimensions and measures.

3. Suppose you want the Top 10 cancellation policies by sum of no of listings. Just write down and Askdata will suggest according to whatever you write in the pane.

Select it and just wait for some magic to happen.

You see that you page loads for some time and woahh here is a bar chart which represents the top 10 cancellation policies by sum of no of listings.

You can even change your chart from the drop down menu which is present in the top right corner of the chart. It gives the possible charts that you can create to represent such results.

You can choose to make some other chart by asking the askdata even. You just need to write “as a pie chart” or “as a bar chart” or whatever chart you need to make.

Select the pie chart and get the result as follows:

This new feature shows us how interactive Tableau has become . Try out this new feature.

--

--