We want to be able to plot dissagregation data as 2D and/or 3D bar charts. There are 4 possible independent variables that a dissag chart could be plotted on:
TRT (tectonic region type)
magnitude
distance
epsilon
We want to user to be able to choose up to 2 variables for the spatial (x-y) axes of the plot and up to 1 for the color.
If the user chooses 1 variable for the spatial axis the result is a 2D bar chart:
If the user chooses 2 variables for the spatial axes, the result is a 3D bar chart:
Assume the application API will handle serving the correct data when axes are chosen by the user (i.e., collapsing of the data along certain axes must happen to create the correct data, this will be handled by either Kororaa or the API, it is not in scope for this ticket).
The color of the bars is plotted according to the color axis chosen by the user. The API will supply them in the order to be plotted and their contribution to the height of the bar, the component only needs to render them e.g.
We want to be able to plot dissagregation data as 2D and/or 3D bar charts. There are 4 possible independent variables that a dissag chart could be plotted on:
We want to user to be able to choose up to 2 variables for the spatial (x-y) axes of the plot and up to 1 for the color.
Assume the application API will handle serving the correct data when axes are chosen by the user (i.e., collapsing of the data along certain axes must happen to create the correct data, this will be handled by either Kororaa or the API, it is not in scope for this ticket).
The color of the bars is plotted according to the color axis chosen by the user. The API will supply them in the order to be plotted and their contribution to the height of the bar, the component only needs to render them e.g.