In ma previous post, Creating Jump Plot, we used Bézier function for drawing the curves. But Bézier curve is not the sole option.

Today, we would like to show you how to use the familiar Sine function and Triangular function for drawing those curves. I got the inspiration from a viz of Sebastián Soto Vera. Check it out, it is a great use case of jump plot.

We will use the same data set as in my last post. To make it simple, we will only focus on contiguous sequences, which go through all the check points. This will make the calculations a lot simpler.

Simplified Steps
-Densification sill the same based on the Sequence
-[t simple], of values between 0 and 1, is an index between 2 check points
  • [t simple] = (Index()-1)%100/100
-X coordinates will be Index()
-Y is the measure, which has to be available at each densified points.

Now all the variety of jump plot differentiate by the way we calculate Y:

Sine Jump Plot
Circular/Elliptic Jump Plot
Triangular Jump Plot
Bézier Jump Plot
Here are the resulting charts:
You see, there can be more other functions for creating a jump plot. You may replace the above by your favorite sexy curves. Click the above image to access the viz.
0

Add a comment

Blog Archive
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.