# Type Formatter Examples

## Example 1

```jsx
<SampleViz
    options={{
        option1: '> primary | seriesByIndex(0) | type()' // returns ['number', 'number', 'number']
        option2: '> primary | seriesByIndex(1) | type()' // returns ['string', 'string', 'string']
    }}
    dataSources={{
        data: {
            primary: {
                columns: [[100, 200, 300], ['string1', 'string2', 'string3']]
                fields: [{ name: 'foo' }, { name: 'bar' }]
            }
        }
    }}
/>
```
