Visual apperance

This commit is contained in:
Adrian Rumpold
2025-07-09 11:51:32 +02:00
parent 5dc583e387
commit 86688519f5
11 changed files with 310 additions and 147 deletions

View File

@@ -6,22 +6,19 @@ export function getSampleData(): ResponseData[] {
"Value for Money",
"Ease of Use",
"Recommendation",
];
const responses = [
"Strongly Disagree",
"Disagree",
"Neutral",
"Agree",
"Strongly Agree",
"Overall Satisfaction",
"Customer Support",
"Product Features",
];
const sampleData: ResponseData[] = [];
let id = 1;
questions.forEach((question) => {
const numResponses = Math.floor(Math.random() * 50) + 30;
for (let i = 0; i < numResponses; i++) {
const response = responses[Math.floor(Math.random() * responses.length)];
const response = Math.floor(Math.random() * 5);
sampleData.push({
id: id++,
timestamp: id++,
position: "",
question: question,
response: response,
});