Hi,
I have a dataview about actions done by users (coming from indexes built from logs).
Each row has columns for user, his profile (role) and a timestamp for the time he performs the action.
The idea is to have a graph showing, for one filtered user, the profiles he uses over time (short period...).
I thought of a graph displaying time on X axis and profiles on Y axis, each record in the dataview would be represented by a point depending on the time and the profile used.
But i can't figure how i can represent this (or another way to do do the same thing)
In aggregations or lens, i can't see point cloud, in timeseries, i can see only counts (I want to see a point for each record on short periods of time and not a count by hours for example)
I also tried vega but even my simplest graph trying to draw points at the intersection of an x qualitative value and an y qualitative value fails (i'm very new to this)
Any idea ? Is it simply possible ?
(i put here the very simple code that fail (i have only one point at the center of the graph. I cant see the values from DATA1 and DATA2 along the axis... And there is no time yet. When I try with a date on X axis, i have a [Infinite extent for field "DATE": [Infinity, -Infinity]] error.
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"url": {
"%context%": true,
"index": "logs-dataview",
"body": {
"size": 1000,
"_source": ["DATA1", "DATA2"]
}
}
},
"mark": "point",
"encoding": {
"x": {
"field": "DATA1",
"type": "nominal"
},
"y": {
"field": "DATA2",
"type": "nominal"
}
}
}