UNPKG

doevisualizations

Version:

Data Visualization Library based on RequireJS and D3.js (v4+)

121 lines 3.56 kB
{ "DisplayId": 125, "Visualization": "stackedBar", "Legend": true, "XFields": [ "SubCategory" ], "YFields": [ "Amount", "FundingSource" ], "Groupings": [ "" ], "XTitle": "", "YTitle": "(in thousands)", "TooltipTemplate": "${{Amount}} was spent on {{FundingSource}} funded {{SubCategory}}.", "TooltipFields": [ "Amount" ], "StoryBox": "", "ShowDataLabel": false, "GenerateRawTable": true, "ChartTitle": "Average Spending per Student", "ChartSubTitle": "By Fund Type", "ColorPalette": [ "#3abba8", "#f7cb16", "#31616c", "#77bf45", "#8b4368", "#f58921", "#3c51a2" ], "Data": [{ "Category": "Per Pupil Expenditures - State", "SubCategory": "Personnel", "FundingSource": "Federal", "Amount": 528, "PctTotalFunds": 3.48 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Personnel", "FundingSource": "State ", "Amount": 8333, "PctTotalFunds": 54.99 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Personnel", "FundingSource": "Local", "Amount": 3329, "PctTotalFunds": 21.97 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Non-personnel", "FundingSource": "Federal", "Amount": 284, "PctTotalFunds": 1.88 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Non-personnel", "FundingSource": "State ", "Amount": 1140, "PctTotalFunds": 7.52 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Non-personnel", "FundingSource": "Local", "Amount": 1539, "PctTotalFunds": 10.16 } ], "LabelData": [{ "Category": "Per Pupil Expenditures - State", "SubCategory": "Personnel", "FundingSource": "Federal", "Amount": 528, "PctTotalFunds": 3.48 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Personnel", "FundingSource": "State ", "Amount": 8333, "PctTotalFunds": 54.99 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Personnel", "FundingSource": "Local", "Amount": 3329, "PctTotalFunds": 21.97 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Non-personnel", "FundingSource": "Federal", "Amount": 284, "PctTotalFunds": 1.88 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Non-personnel", "FundingSource": "State ", "Amount": 1140, "PctTotalFunds": 7.52 }, { "Category": "Per Pupil Expenditures - State", "SubCategory": "Non-personnel", "FundingSource": "Local", "Amount": 1539, "PctTotalFunds": 10.16 } ] }