maidr 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -236,20 +236,29 @@ Below is a detailed list of keyboard shortcuts for various functions:
236
236
 
237
237
  ### Scatterplot Controls
238
238
 
239
- In the Scatterplot plot, there are two layers: point mode (layer 1) and line mode (layer 2). To switch between these layers, use the Page Up and Page Down keys:
239
+ In the Scatterplot, there are two layers: point mode (layer 1) and line mode (layer 2). To switch between these layers, use the Page Up and Page Down keys:
240
240
 
241
241
  - Press Page Up to move from point mode to line mode
242
242
  - Press Page Down to move from line mode to point mode
243
243
 
244
244
  Note that this control scheme can be used by any plot with multiple types.
245
245
 
246
+ ### Segmented Bar Controls
247
+
248
+ In the various segmented bar plots (stacked bar, dodged bar, and normalized stacked bar), Up Down Left Right controls function similar to a grid:
249
+
250
+ - Left and Right arrows move between different bars or points on the x axis.
251
+ - Up and Down arrows move between different layers of the same bar or point on the x axis.
252
+
253
+ Note that there are also pseudo layers at the top of each layer stack: a Summary layer representing a sum of all that bar's values, and a Combined layer that plays a separated or combined run of tones of all the layers. The standard 'S' key that controls sonification now has an extra setting to play either combined tones or separated tones.
254
+
246
255
  ## Braille Generation
247
256
 
248
257
  maidr incorporates a Braille mode that represents the plot using Braille symbols. This allows users with visual impairments to explore and interact with the plot using a refreshable Braille display. To achieve this, our system translates the plot's visual elements and data points into a corresponding tactile representation using Braille patterns. For different plot types, such as barplot, boxplot, heatmap, and scatterplot, maidr employs unique encoding strategies tailored to effectively convey the data distribution, patterns, and trends. These tactile encodings range from using distinct Braille characters to represent value ranges, to employing characters that visually resemble the corresponding sections of a plot. By providing a comprehensive Braille representation for various plot types, maidr enables users with visual impairments to gain a deeper understanding of the underlying data and its insights.
249
258
 
250
259
  ### Barplot
251
260
 
252
- In the Braille representation of a barplot, data values are encoded as Braille characters based on their relative magnitude within the plot. Low values are denoted by Braille characters that have dots only along the bottom, while high values are indicated by characters that are filled with dots. Given the four height levels of Braille, the encoding is as follows:
261
+ In the Braille representation of a barplot, data values are encoded as Braille characters based on their relative magnitude within the plot. Low values are denoted by Braille characters that have dots only along the bottom, while high values are indicated by characters that have dots along the top. Given the four height levels of Braille, the encoding is as follows:
253
262
 
254
263
  - ⣀ represents values 0 to 25%
255
264
  - ⠤ represents the 25% to 50%
@@ -318,6 +327,20 @@ In the Braille representation of a scatterplot, the encoding is performed only f
318
327
  - ⠒ represents values from 50% to 75%
319
328
  - ⠉ represents values from 75% to 100%
320
329
 
330
+ ### Segmented Bar Plots
331
+
332
+ Stacked bar, dodged bar, and normalized stacked bar all share the same system:
333
+
334
+ In the braille representation of segmented bar plots, braille depends on where you are. There are typically multiple levels to a segmented bar plot, and as you move (Up and Down arrow keys) between levels, the braille changes to represent your current level. At the top, there is also a Summary pseudo layer of all levels added together, and a Combined pseudo layer of each layer seperately.
335
+
336
+ - Regular layers: Braille appears similar to a bar plot, with braille values corresponding to the magnitude of the layer's value for this point.
337
+ - Summary layer: Same as regular layers, but values now reflect the combined magnitude of all layers' values for this point.
338
+ - Combined layer: Similar to heatmap, where there are groups of magnitudes for each point separated by a ⢳ character. The first group has braille characters for each layer for the first point, then a seperator, then the second group has braille characters for each layer in the second point, then a seperator, and so on.
339
+
340
+ ### Lineplot
341
+
342
+ In the Braille representation of a lineplot, braille is nearly identical to the above barplot: data values are encoded as Braille characters based on their relative magnitude within the plot. Low values are denoted by Braille characters that have dots only along the bottom, while high values are indicated by characters that have dots higher up.
343
+
321
344
  ## License
322
345
 
323
346
  This project is licensed under the GPL 3 License.