Type Alias: CosmographInputData

CosmographInputData = File | string | Table | Uint8Array | ArrayBuffer | Record<string, unknown>[]

Represents the input data for Cosmograph points or links. This can be an array of objects or a more complex data structure containing information about each point or link to be rendered. Accepts File, string, Table (Apache Arrow), Uint8Array (Apache Arrow), ArrayBuffer (Apache Arrow), Record<string, unknown>[]

string will be treated as table name in external DuckDB-Wasm instance when duckDbConnection is provided to the Cosmograph instance.