@equinor/videx-wellog
Version:
Visualisation components for wellbore log data
82 lines (66 loc) • 2.09 kB
Markdown


[](https://scm-compliance-api.radix.equinor.com/repos/equinor/videx-wellog/badge)
Well log powered by the ViDEx well log components and [Volve open data sets](https://data.equinor.com/) provided by Equinor.

```
npm install @equinor/videx-wellog
```
Generate type-doc to `./docs`
```
npm run docs
```
```
npm run storybook:install
npm run storybook
```
Tracks are containers that can be added to a wellog component. A Track is resposible to react to lifecycle events provided by its container.
The Distribution Track visualizes the distribution of categories along a depth axis, showing how different components vary continuously or discretely with depth.
Provided is a sample configuration object for setting up a Distribution Track.
```js
{
label: 'Distribution',
abbr: 'Dst',
data: [
{
"depth": 1,
"composition": [
{ "key": "Red Stone", "value": 80.00 },
{ "key": "Grey Stone", "value": 20.00 }
]
},
{
"depth": 2,
"composition": [
{ "key": "Red Stone", "value": 40.00 },
{ "key": "Grey Stone", "value": 60.00 }
]
}
],
legendConfig: distributionLegendConfig,
components: {
'Red Stone': {
color: 'FireBrick',
textColor: '#8E1B1B', // Optional, will use color by default
},
'Grey Stone': {
color: 'SlateGrey',
},
},
interpolate: true,
}
```
**Note:** _distributionLegendConfig_ will use color given in _components_.
- Depth is sorted in ascending order.
- Composition totals 100.
We greatly appreciate contributions to this repository, see our [contribution page](./contributing.md) on how to get started.