This course will expose learners to additional tools that can be used to perform Data Visualization. In particular, the courses focuses on Tableau, a state-of-the-art visualization package. In this course, the visualization concepts from previous courses are reinforced and the Tableau software is introduced through replication of the visualizations built in previous courses.

Associate Professor at Arizona State University in the School of Computing, Informatics & Decision Systems Engineering and Director of the Center for Accelerating Operational Efficiency School of Computing, Informatics & Decision Systems Engineering

Welcome to the second video covering Tableau for data visualization.

In this case, we're going to pick up exactly where we left off in the Tableau workbook.

In this video, we're going to create a pie chart, a bar chart,

a histogram and a box and whisker plot just like we did in

the second Jupyter Notebook demonstration video.

However, unlike the second Jupyter Notebook demonstration video,

we don't have those charts pre-prepared and ready to discuss immediately.

So, let's get started by creating a pie chart.

If we want to duplicate the pie chart that we had in the first video,

which was number of cereals per manufacturer,

we can drag the manufacturer dimension to

the columns and get rid of the cereal dimension.

And then drag the number of records measure to the rows.

And in this case, we already

have the number of records measure in the rows so let's get rid of one of those.

Tableau by default has created a bar chart to

demonstrate this but since we want a pie chart,

we can go over to this charts pane here and click on "Pie

Chart" and that gives us a pie chart of the same data.

If we'd like to add labels to our pie chart

like we did with the pie chart in Jupyter Notebook,

we can take the manufacturer dimension and drag it to the label field in the marks pane.

This gives us a labeled pie chart that

duplicates the one that we created in Jupyter Notebook.

I'm going to rename this worksheet

Pie Chart and then create a new worksheet for a bar chart.

In Jupyter Notebook, our bar chart plotted the amount of

sugar per cereal and this is just as easy to make as the pie chart was in fact easier.

We can take the sugar's measure and drag it to

the columns field and then the cereal dimension and drag it to the rows field.

And this gives us a vertical bar chart of the amount of sugar per cereal.

If we'd like to make this a vertical bar chart like we had with Jupyter Notebook,

all we have to do is switch the position of cereal and sugars

in the columns and rows fields and we have a vertical bar chart.

Notice that Tableau, unlike Jupyter Notebook,

scales the graphs more intelligently and scales it in such a way that the name of

the cereal is readable on the graph unlike

Jupyter Notebook where it was very difficult to read the name

of each of the cereals and we ended up removing that from the visualization.

As before, I will rename

this bar chart and move on to creating a histogram.

If we move over to our charts pane and we hover over histogram,

we can see that a histogram view requires one measure.

When we created a histogram in Jupyter Notebook,

we created a histogram of the amount of sugar in each cereal,

which essentially collapsed the bar chart that we saw in

our previous worksheet to a much more readable histogram.

So, in this case, we take the sugar's measure and drag that to

the column pane and then click on "Histogram" in the charts view.

Here, we can see that a histogram was automatically created.

As before, I'll rename this histogram and move on to the box and whisker plot.

Lastly, we'll create a box and whisker plot using Tableau.

In the previous Jupyter Notebook demonstration,

we created a box and whisker plot of

sugar content per cereal and we'll duplicate that in Tableau.

To get Tableau to create a box and whisker plot requires a little bit of persuading.

In this case, we drag sugars to the rows field but it

automatically creates a bar chart and that's not really what we want.

We would like a box and whisker plot but to get a box and whisker plot,

we have to tell Tableau over which dimension the sugars should be accumulated.

In this case, we would like to accumulate over

the cereal dimension so we drag cereal to the detail part of the marks pane.

Well, this highlights how much sugar is in each cereal,

it doesn't give us a box and whisker plot.

Fortunately, over on the visualizations pane,

we can see that we've met the criteria for a box and whisker plot.

So, we click on that and Tableau automatically creates the box and whisker plot.

In this case, we can see the titular box and whisker but we can also

mouse over each of these individual data points to see how much sugar is in each cereal.

If we'd like to accumulate over manufacturer instead of over cereal,

all we need to do is drag the manufacturer dimension to the detail pane and then remove

the cereal detail and the box and whisker plot is automatically recomputed.

If we'd like to have more measures in our box and whisker plot side by side,

we can simply drag more of these measures to the rows field

and the box and whisker's will automatically be recomputed.

In this video, we've duplicated all four of

the charts that we created previously in Jupyter Notebook;

the pie chart, the bar chart, the histogram,

and the box and whisker plot and duplicated them in Tableau.

These are the basic charts and the next video,

we'll cover the more advanced charts like the mosaic plot,

the parallel coordinate plot,

and the scatter plot. Thank you.

Ознакомьтесь с нашим каталогом

Присоединяйтесь бесплатно и получайте персонализированные рекомендации, обновления и предложения.