---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, Presentation Components, widgets, tags, UI components]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: Sample Data for Chart 2.0 Examples
layout: subsection
---

<a id="section_N10041_N1003E_N10001"></a>
The examples in the chart 2.0 tag topics use a sample <i>chartData.script</i> module that returns the JSON chart data. The examples reference the returned list as <i>data</i>, which is the sample `dataVariableName`.

<b>Note:</b> We don't recommend that you load huge, hard-coded data in a script. This chart data script is for chart illustration purposes only.

```
var getChartData = function() {
  return
  [
    {
      "recruiter": "Ken",
      "region": "RegionA",
      "yearsEmployed": "0",
      "hiredRecruits": "58",
      "recruits": {
        "finance": 2,
        "sales": 13,
        "support": 5
      },
      "quota": 50,
      "month": "January"
    },
    {
      "recruiter": "Anne",
      "region": "RegionB",
      "yearsEmployed": "1",
      "hiredRecruits": "31",
      "recruits": {
        "finance": 6,
        "sales": 14,
        "support": 5
      },
      "quota": 50,
      "month": "February"
    },
    {
      "recruiter": "Carlos",
      "region": "RegionC",
      "yearsEmployed": "2",
      "hiredRecruits": "17",
      "recruits": {
        "finance": 16,
        "sales": 17,
        "support": 11
      },
      "quota": 50,
      "month": "March"
    },
    {
      "recruiter": "Betty",
      "region": "RegionB",
      "yearsEmployed": "3",
      "hiredRecruits": "57",
      "recruits": {
        "finance": 15,
        "sales": 19,
        "support": 23
      },
      "quota": 75,
      "month": "April"
    },
    {
      "recruiter": "Cindy",
      "region": "RegionA",
      "yearsEmployed": "4",
      "hiredRecruits": "90",
      "recruits": {
        "finance": 45,
        "sales": 33,
        "support": 12
      },
      "quota": 100,
      "month": "May"
    },
    {
      "recruiter": "Omar",
      "region": "RegionB",
      "yearsEmployed": "5",
      "hiredRecruits": "105",
      "recruits": {
        "finance": 39,
        "sales": 42,
        "support": 24
      },
      "quota": 150,
      "month": "June"
    },
    {
      "recruiter": "Wesley",
      "region": "RegionC",
      "yearsEmployed": "6",
      "hiredRecruits": "127",
      "recruits": {
        "finance": 63,
        "sales": 26,
        "support": 38
      },
      "quota": 175,
      "month": "July"
    },
    {
      "recruiter": "Hana",
      "region": "RegionA",
      "yearsEmployed": "12",
      "hiredRecruits": "200",
      "recruits": {
        "finance": 68,
        "sales": 49,
        "support": 83
      },
      "quota": 200,
      "month": "August"
    }
  ]
};

{
  "getChartData": getChartData
}
 
```

