-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(components): add section for scales and confidence intervals
- Loading branch information
1 parent
f004bb2
commit 4c554bc
Showing
14 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { App } from './app.js'; | ||
export * from './display'; | ||
export * from './visualization'; | ||
export * from './input'; |
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions
26
...ts/src/web-components/visualization/data_visualization_statistical_analysis.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Meta } from '@storybook/blocks'; | ||
|
||
<Meta title='Visualization/Data Visualization and Statistical Analysis' /> | ||
|
||
# Data Visualization and Statistical Analysis | ||
|
||
## Scales | ||
|
||
On most plots, users can select the y-axis scaling through a dropdown. | ||
They can choose between linear, logarithmic and logistic scaling. | ||
By default, it is set to a linear scale. | ||
|
||
In general, for each scale the displayed height of a value is by calculated applying the corresponding scale function. | ||
|
||
- Linear: `value` | ||
- Logarithmic: `ln(value)` | ||
- Logistic: `ln(value / (1 - value))` | ||
|
||
## Confindence Intervals | ||
|
||
On bar and line plots, users can choose to display confidence intervals. | ||
For line plots, this is done by shading the area between the upper and lower bounds. | ||
For bar plots, this is done by adding error bars to the top of each bar. | ||
|
||
Currently, only one method is available for calculating the confidence intervals: | ||
the [wilson score interval](https://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval#Wilson_score_interval) with a confidence level of 95%. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.