Working with dataframe-like data source

I have data coming from a csv and stored in a column oriented dataframe (using jtablesaw).
However, most of (all?) the examples of charts-kt use data stored in a list of record.

Is there a convenient way to use column oriented data in charts-kt?

Hi Antoine,

Kotlin offers very convenient ways of manipulating collections, that’s why we did not include any functionalities in Charts.kt cause it’s bundled in the Kotlin standard lib.

Can you check if this example answers your need? https://play.data2viz.io/sketches/dYbbvY/edit/

The loaded CSV file is this one.

I’m loading the CSV, parse it into a data class I created for the occasion, then I just filter my collection a bit and use it in my chart.

Do you need more features?
Maybe you can give me an example of a source file and the data you want to use from it in your chart?