EmmanuelDodoo / modav

Data Visualization tool written in Rust and with Iced
2 stars 1 forks source link

Stacked Bar Chart #20

Closed EmmanuelDodoo closed 3 weeks ago

EmmanuelDodoo commented 2 months ago

Add Stacked Bar charts like below.

image

image

EmmanuelDodoo commented 2 months ago

Some features to consider adding to this model:

EmmanuelDodoo commented 2 months ago

More Examples 368366730-e23a3b95-d802-487f-8ba4-83e323d85bf3

368367309-6b0d1f5f-9379-45f5-9fd2-59675b8c5636

EmmanuelDodoo commented 3 weeks ago

Some features to consider adding to this model:

* Interactive reordering of the sections either on a bar basis or globally

* Hovering effects for more details?

* Toggling on/off particular categories

* Support for both positive and negative stacked bars

* Filtering out either positive and negative stacked bars

As at now, only the 'Both positive and negative stacked bars support' is implemented. The rest would have to be done at another point

EmmanuelDodoo commented 3 weeks ago

For convenience sake, users will be able to specify the accumulating columns using the syntax, x:y. Columns with index, i where x <= i < y would thus be included in the accumulating columns.

As an example, "1,2,6:10, 8" would have accumulating columns 1,2,6,7,8,9

EmmanuelDodoo commented 3 weeks ago

Add Stacked Bar charts like below.

image

image

This is the modav version of the graphs

image

image

As is evident, a lot of the basic functionality has been implemented. Apart from interactivity, the last major issue is how the axis scales are generated. A lot of work has been put into getting it to this state and I will keep working to make it better

EmmanuelDodoo commented 3 weeks ago

More Examples 368366730-e23a3b95-d802-487f-8ba4-83e323d85bf3

368367309-6b0d1f5f-9379-45f5-9fd2-59675b8c5636

More modav versions

image

image