Visual apperance
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user