@genspectrum/dashboard-components 0.19.8 → 0.20.0

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.
Files changed (28) hide show
  1. package/custom-elements.json +32 -14
  2. package/dist/{NumberRangeFilterChangedEvent-RZ8haPHq.js → NumberRangeFilterChangedEvent-RqWinxhE.js} +50 -41
  3. package/dist/NumberRangeFilterChangedEvent-RqWinxhE.js.map +1 -0
  4. package/dist/assets/mutationOverTimeWorker-BzmkceEA.js.map +1 -0
  5. package/dist/components.d.ts +35 -35
  6. package/dist/components.js +5 -7
  7. package/dist/components.js.map +1 -1
  8. package/dist/util.d.ts +46 -64
  9. package/dist/util.js +1 -1
  10. package/package.json +1 -1
  11. package/src/preact/dateRangeFilter/date-range-filter.stories.tsx +3 -3
  12. package/src/preact/dateRangeFilter/dateRangeOption.ts +71 -45
  13. package/src/web-components/input/gs-date-range-filter.stories.ts +4 -4
  14. package/src/web-components/input/introduction.mdx +57 -2
  15. package/src/web-components/tutorials/CreateYourFirstOwnDashboard.mdx +85 -0
  16. package/src/web-components/tutorials/UseTheComponentsWithPlainJavaScript.mdx +140 -0
  17. package/src/web-components/tutorials/UseTheComponentsWithReact.mdx +166 -0
  18. package/src/web-components/visualization/gs-mutations.tsx +2 -2
  19. package/src/web-components/visualization/introduction.mdx +51 -0
  20. package/standalone-bundle/assets/mutationOverTimeWorker-jUeItsGM.js.map +1 -0
  21. package/standalone-bundle/dashboard-components.js +7088 -7112
  22. package/standalone-bundle/dashboard-components.js.map +1 -1
  23. package/dist/NumberRangeFilterChangedEvent-RZ8haPHq.js.map +0 -1
  24. package/dist/assets/mutationOverTimeWorker-CBXsEsiT.js.map +0 -1
  25. package/src/web-components/visualization/data_visualization_statistical_analysis.mdx +0 -26
  26. package/standalone-bundle/assets/mutationOverTimeWorker-CN4SJC7C.js.map +0 -1
  27. /package/src/web-components/{MutationAnnotations.mdx → mutationAnnotations.mdx} +0 -0
  28. /package/src/web-components/{ResizeContainer.mdx → sizeOfComponents.mdx} +0 -0
@@ -1,26 +0,0 @@
1
- import { Meta } from '@storybook/blocks';
2
-
3
- <Meta title='Visualization/Data Visualization and Statistical Analysis' />
4
-
5
- # Data Visualization and Statistical Analysis
6
-
7
- ## Scales
8
-
9
- On most plots, users can select the y-axis scaling through a dropdown.
10
- They can choose between linear, logarithmic and logistic scaling.
11
- By default, it is set to a linear scale.
12
-
13
- In general, for each scale the displayed height of a value is calculated by applying the corresponding scale function.
14
-
15
- - Linear: `value`
16
- - Logarithmic: `ln(value)`
17
- - Logistic: `ln(value / (1 - value))`
18
-
19
- ## Confidence Intervals
20
-
21
- On bar and line plots, users can choose to display confidence intervals.
22
- For line plots, this is done by shading the area between the upper and lower bounds.
23
- For bar plots, this is done by adding error bars to the top of each bar.
24
-
25
- Currently, only one method is available for calculating the confidence intervals:
26
- the [wilson score interval](https://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval#Wilson_score_interval) with a confidence level of 95%.