简体   繁体   中英

Create Bell Curve in Tableau

I am trying to create Bell Curve from data, ie

x = number of shoes y = number of records

From the data, most records, ie women have one pair of shoes, so 1 would be the center of the x axis.

How to approach this? Here is what I have so far

在此输入图像描述

Data Structure

在此输入图像描述

Put "Pair of Shoes" on the columns shelf. Change it do a dimension. I would leave the data type as a number and make it continuous.

Then put SUM(Number of Records) on the rows shelf, and make sure it is continuous.

You'll see a distribution, but it won't look like a bell curve

There's a couple of ways to do this. One of the fastest ways is probably to turn "pairs of shoes" into a text dimension. There are a couple of ways to do that, this link should help.

Use the bar graph. Pairs of shoes becomes the dimensional entry. You can then use the count distinct feature:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM