I am new to plotly and this is one of my first attempt to visualise data in an interactive way. And now I have run into a conceptual problem. I want to plot horizontal boxes plot with plotly and I am following this tutorial on horizontal box graphs in plotly however having the data in the structure like this:
data = [
{
'x': [0.2, 0.2, 0.6, 1.0, 0.5, 0.4, 0.2, 0.7, 0.9, 0.1, 0.5, 0.3],
'y': ['day 1', 'day 1', 'day 1', 'day 1', 'day 1', 'day 1', 'day 2', 'day 2', 'day 2', 'day 2', 'day 2', 'day 2'],
'name':'kale',
'marker': {
'color': '#3D9970'
},
'boxmean': False,
'orientation': 'h',
"type": "box",
}]
You can only plot one continuous box in a row. What I want to achieve is something like: I have a list of actions and I want to plot them to show which actions are performed at what time in a day and how long they last. Some of the actions are performed multiple times in one day, and hence I need a way to visualise it. Do you know if this is even possible with plotly?
If you want to down vote my question, please provide a constructive critique on why you are doing so.
NaN
values? – Vinícius Figueiredo