Cart Licenses Contact Support Online Creator Log in/Register
v 1.9.50

Survey Analytics + SurveyJS.IO service



            var json = {
  "elements": [
      "type": "checkbox",
      "name": "langs",
      "title": "What language(s) are you currently using?",
      "colCount": 4,
      "isRequired": true,
      "choices": [ "Javascript", "Java", "Python", "CSS", "PHP", "Ruby", "C++", "C", "Shell", "C#", "Objective-C", "R", "VimL", "Go", "Perl", "CoffeeScript", "TeX", "Swift", "Scala", "Emacs List", "Haskell", "Lua", "Clojure", "Matlab", "Arduino", "Makefile", "Groovy", "Puppet", "Rust", "PowerShell" ],
      "validators": [
          "type": "answercountvalidator",
          "maxCount": 3,
          "text": "Please select maximum three languges."

    // You can set JSON directly
    // var survey = new Survey.Model(json);

    // Or get survey JSON from our service by survey Id
    var jsonWithIds = {
        surveyId: '5af48e08-a0a5-44a5-83f4-1c90e8e98de1',
        surveyPostId: '3ce10f8b-2d8a-4ca2-a110-2994b9e697a1'
    var survey = new Survey.Model(jsonWithIds);

    var surveyResultNode = document.getElementById("surveyResult");
    surveyResultNode.innerHTML = "";

    // Published survey results can be obtained via the API method using survey ID
    $.get("", function (data) {
        var visPanel = new SurveyAnalytics.VisualizationPanel(
            { labelTruncateLength: 27 }
        visPanel.showHeader = true;



<!DOCTYPE html>
<html lang="en">
    <title>Survey Analytics + SurveyJS.IO service, Reactjs Survey Library Example</title>
<meta name="viewport" content="width=device-width" />
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    <script src="/DevBuilds/survey-core/survey.core.min.js"></script>
    <script src="/DevBuilds/survey-core/survey.i18n.min.js"></script>
    <script src="/DevBuilds/survey-react-ui/survey-react-ui.min.js"></script>
    <link href="/DevBuilds/survey-core/defaultV2.min.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="./index.css">
<script src=""></script>

<script src=""></script>

<script src=""></script>

<script src=""></script>        <link href="/DevBuilds/survey-analytics/" rel="stylesheet" />
        <script src="/DevBuilds/survey-analytics/"></script>

<body style="margin: 0">


<div id="loadingIndicator">
        <div id="loading"><strong>loading...</strong><span></span></div>
</div>            <div id="surveyElement" style="display:inline-block;width:100%;">
    <div id="surveyResult"></div>

<script type="text/babel" src="./index.js"></script>