How to use survey-analytics - 1 common examples

To help you get started, we’ve selected a few survey-analytics examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github surveyjs / surveyjs_angular_cli / src / app / survey.analytics.component.ts View on Github external
product_improvement: ""
    };

    var data = [firstResult, secondResult];
    // EO survey results data object

    var normalizedData = data.map(function(item) {
      survey.getAllQuestions().forEach(function(q) {
        if (item[q.name] === undefined) {
          item[q.name] = "";
        }
      });
      return item;
    });

    var visPanel = new SurveyAnalytics.VisualizationPanel(
      document.getElementById("surveyAnalyticsContainer"),
      survey.getAllQuestions(),
      normalizedData
    );
    visPanel.render();
  }
}

survey-analytics

SurveyJS Dashboard is a UI component for visualizing and analyzing survey data. It interprets the form JSON schema to identify question types and renders collected responses using interactive charts and tables.

SEE LICENSE IN LICENSE
Latest version published 4 days ago

Package Health Score

90 / 100
Full package analysis

Popular survey-analytics functions