Toan Hoang

Neon Charts in Tableau

I am a big advocate of having fun in Tableau and seeing where my imagination takes me. While browsing Pinterests I saw several neon (glowing) line charts and was wondering if this was possible in Tableau? and then wondered if we could use the Density Mark Type to achieve this effect? In this tutorial, we will go through and draw 5 different curves and try to have a little bit of fun.

Note: As always never choose a data visualisation type and try to fit your data into it, instead, understand your data and choose the best visualization for your data consumers. However, this tutorial is meant to be, well FUN…!!!

Data

Load the following data into Tableau Desktop / Public.

Path
1
360

I kid you not, this is all the data that we will need in our quick and fun tutorial. So let us get started.

Line

Once the data is loaded we will start by drawing a simple line.

If all goes well, you should see the following:

Sin Curve

We will now add a new worksheet and create a Sin Curve using the same technique.

Note: We want a more dense line to ensure that we have smoothness. This is why we set our Path (bin) to 0.1 to create more points. Because of this we also divided our index by 10 to ensure we get a single Sin Curve.

Now to build our Worksheet:

Adjust the cosmetics and if all goes well, you should see the following:

Circle

We will now add a new worksheet and create a nice Circle using the same technique.

Now to build our Worksheet:

Adjust the cosmetics and if all goes well, you should see the following:

Spiral

We will now add a new worksheet and create a nice Spiral using the same technique.

Note: We want less points in the spiral than in the previous visualisations.

Now to build our Worksheet:

Adjust the cosmetics and if all goes well, you should see the following:

For giggles, change the Path (Spiral) value to 0.01 and you get this cool spotlight effect.

Incremental Wave

We will now add a new worksheet and create a nice Incremental Wave using the same technique. This is our last bit of fun.

Now to build our Worksheet:

Adjust the cosmetics and if all goes well, you should see the following:

For giggles, change the Path (Wave) value to 0.001 and you get this cool effect.

Summary

Now does this technique have real work application in terms of building Tableau Visualisations, I am not sure yet, but this is the Dashboard that inspired me to research and experiment with this technique.

I hope you all enjoyed this article as much as I enjoyed writing it, and as always, if you like this article, do share the love on, and also remember to follow us on Facebook, LinkedIn as well as Pinterest. Do let me know if you experienced any issues recreating this Visualisation, and as always, please leave a comment below or reach out to me on Twitter @Tableau_Magic.

If you like our work, do consider supporting us on Patreon, and for supporting us, we will give you early access to tutorials, exclusive videos, as well as access to current and future courses on Udemy:

Also, do be sure to check out our various courses:

Exit mobile version