4 Replies Latest reply on Jun 27, 2018 3:13 PM by Ken Flerlage

# Saw a great Viz of the Day workbook, curious how it was built?

Hello everyone,

I saw a dashboard I really liked in Viz of the Day and I am curious as to how to replicate these butterfly shapes. It seems like the gray and pink butterfly wings are layered on top of each other with a dual axis, except the white circle in the middle of each butterfly also seems like a dual axis? Are 3 things (gray butterfly wings, pink butterfly wings, white circle) dual axis'd together, then? How were more than 2 measures combined at the same time? Or is this done through some fancy trigonometry work and plotting of X and Y axes?

Any insight is thoroughly appreciated

Gender & Ethnic Disparities in Tech Companies | Tableau Public

• ###### 1. Re: Saw a great Viz of the Day workbook, curious how it was built?

Unfortunately, she didn't make it downloadable, so it's difficult to say for sure. You may be able to reach out to her on Twitter and ask how she did it. My guess would be that everything is a polygon of some sort. Some math would need to be used to calculate the x and y coordinates of each petal shape. The center would just be a separate polygon in the shape of a circle. Since everything is a polygon, they can be layered on top of each other (as long as the viz Z-Order is set properly) and it would only take a single axis.

• ###### 2. Re: Saw a great Viz of the Day workbook, curious how it was built?

Actually, I just found this blog post from Christopher DeMartini which looks like it covers how to do this: Rose Curves in Tableau — DataBlick

The petals are, in deed, polygons, but the center is a dual axis using a circle shape.

1 of 1 people found this helpful
• ###### 3. Re: Saw a great Viz of the Day workbook, curious how it was built?

Thank you Ken!!!!

• ###### 4. Re: Saw a great Viz of the Day workbook, curious how it was built?

Any time!