doevisualizations
Version:
Data Visualization Library based on RequireJS and D3.js (v4+)
47 lines (46 loc) • 1.33 kB
JSON
{
"Visualization": "bar",
"Legend": true,
"XFields": ["SchoolYear"],
"YFields": ["YearPct"],
"Groupings": [],
"XTitle": "Class of:",
"YTitle": "Percentage of Students",
"TooltipTemplate": "{{YearGradCount}} of {{CohortCount}}",
"TooltipFields": ["YearGradCount", "CohortCount"],
"GenerateRawTable": true,
"ChartTitle": "4 Year Graduation Rate",
"ChartSubTitle": "Class of 2012-2016",
"ColorPalette": ["#C84B65", "#C85232", "#A18BCC", "#5AA5CC", "#7CAE59"],
"Data": [{
"SchoolYear": "2012",
"YearGradCount": 8247,
"CohortCount": 10361,
"YearPct": 49.60
},
{
"SchoolYear": "2013",
"YearGradCount": 8190,
"CohortCount": 10249,
"YearPct": 53.91
},
{
"SchoolYear": "2014",
"YearGradCount": 8202,
"CohortCount": 9713,
"YearPct": 63.44
},
{
"SchoolYear": "2015",
"YearGradCount": 8293,
"CohortCount": 9832,
"YearPct": 92.35
},
{
"SchoolYear": "2016",
"YearGradCount": 8353,
"CohortCount": 9867,
"YearPct": 84.66
}
]
}