Migrate to React

This commit is contained in:
Adrian Rumpold
2025-07-09 06:51:16 +02:00
parent 50d2fa8bfe
commit 5dc583e387
23 changed files with 4791 additions and 341 deletions

11
src/lib/parser.ts Normal file
View File

@@ -0,0 +1,11 @@
import * as d3 from "d3";
export interface ResponseData {
id: number;
question: string;
response: string;
}
export function parseCSV(csv: string): d3.DSVRowArray<string> {
return d3.csvParse(csv);
}