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
-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 PlotBézier Jump Plot
Here are the resulting charts:
Add a comment