Objective
I want to visualize a typical customer's journey using Python or R. As usual, customers buy different products at different points of time.
I checked every customers journey and chose product A as a starting point. 10,000 customers bought product A as their first product. Now I want to show the "flow" of their journey. After 10 minutes, 2,500 of these 10,000 customers, bought product B as their second product. Product C was bought by 7,500 people after 25 minutes.
I am looking for a more complex sankey chart. You start of with a bar chart with the height of 10,000 on the left. There are two bar charts on the right and you see a connection between the left and right charts. The longer it took the customers to buy the next product, the further away are the bars on the right from the left one. All the bars have titles with their product names. Quick infos on the charts would also be nice.
The final chart would visualize a longer customer journey (more than two products).
What I have tried
I used the networkD3 R package to visualize a sankeyNetwork, however I could not place the bar charts according to my desires.
Do you have any recommendations for Python or R packages, or is there a way to draw it by myself (in a reasonable amount of time)?