var data1 = [
{name: 'AL', value: [310504,552339,259034,450818,1231572,1215966,641667]},
{name: 'AK', value: [52083,85640,42153,74257,198724,183159,50277]},
{name: 'AZ', value: [515910,828669,362642,601943,1804762,1523681,862573]},
{name: 'AR', value: [202070,343207,157204,264160,754420,727124,407205]},
{name: 'CA', value: [2704659,4499890,2159981,3853788,10604510,8819342,4114496]},
{name: 'CO', value: [358280,587154,261701,466194,1464939,1290094,511094]},
{name: 'CT', value: [211637,403658,196918,325110,916955,968967,478007]},
{name: 'DE', value: [59319,99496,47414,84464,230183,230528,121688]},
{name: 'DC', value: [36352,50439,25225,75569,193557,140043,70648]},
{name: 'FL', value: [1140516,1938695,925060,1607297,4782119,4746856,3187797]},
{name: 'GA', value: [740521,1250460,557860,919876,2846985,2389018,981024]},
{name: 'HI', value: [87207,134025,64011,124834,356237,331817,190067]},
{name: 'ID', value: [121746,201192,89702,147606,406247,375173,182150]},
{name: 'IL', value: [894368,1558919,725973,1311479,3596343,3239173,1575308]},
{name: 'IN', value: [443089,780199,361393,605863,1724528,1647881,813839]},
{name: 'IA', value: [201321,345409,165883,306398,750505,788485,444554]},
{name: 'KS', value: [202529,342134,155822,293114,728166,713663,366706]},
{name: 'KY', value: [284601,493536,229927,381394,1179637,1134283,565867]},
{name: 'LA', value: [310716,542341,254916,471275,1162463,1128771,540314]},
{name: 'ME', value: [71459,133656,69752,112682,331809,397911,199187]},
{name: 'MD', value: [371787,651923,316873,543470,1556225,1513754,679565]},
{name: 'MA', value: [383568,701752,341713,665879,1782449,1751508,871098]},
{name: 'MI', value: [625526,1179503,585169,974480,2628322,2706100,1304322]},
{name: 'MN', value: [358471,606802,289371,507289,1416063,1391878,650519]},
{name: 'MS', value: [220813,371502,174405,305964,764203,730133,371598]},
{name: 'MO', value: [399450,690476,331543,560463,1569626,1554812,805235]},
{name: 'MT', value: [61114,106088,53156,95232,236297,278241,137312]},
{name: 'NE', value: [132092,215265,99638,186657,457177,451756,240847]},
{name: 'NV', value: [199175,325650,142976,212379,769913,653357,296717]},
{name: 'NH', value: [75297,144235,73826,119114,345109,388250,169978]},
{name: 'NJ', value: [557421,1011656,478505,769321,2379649,2335168,1150941]},
{name: 'NM', value: [148323,241326,112801,203097,517154,501604,260051]},
{name: 'NY', value: [1208495,2141490,1058031,1999120,5355235,5120254,2607672]},
{name: 'NC', value: [652823,1097890,492964,883397,2575603,2380685,1139052]},
{name: 'ND', value: [41896,67358,33794,82629,154913,166615,94276]},
{name: 'OH', value: [743750,1340492,646135,1081734,3019147,3083815,1570837]},
{name: 'OK', value: [266547,438926,200562,369916,957085,918688,490637]},
{name: 'OR', value: [243483,424167,199925,338162,1044056,1036269,503998]},
{name: 'PA', value: [737462,1345341,679201,1203944,3157759,3414001,1910571]},
{name: 'RI', value: [60934,111408,56198,114502,277779,282321,147646]},
{name: 'SC', value: [303024,517803,245400,438147,1193112,1186019,596295]},
{name: 'SD', value: [58566,94438,45305,82869,196738,210178,116100]},
{name: 'TN', value: [416334,725948,336312,550612,1719433,1646623,819626]},
{name: 'TX', value: [2027307,3277946,1420518,2454721,7017731,5656528,2472223]},
{name: 'UT', value: [268916,413034,167685,329585,772024,538978,246202]},
{name: 'VT', value: [32635,62538,33757,61679,155419,188593,86649]},
{name: 'VA', value: [522672,887525,413004,768475,2203286,2033550,940577]},
{name: 'WA', value: [433119,750274,357782,610378,1850983,1762811,783877]},
{name: 'WV', value: [105435,189649,91074,157989,470749,514505,285067]},
{name: 'WI', value: [362277,640286,311849,553914,1487457,1522038,750146]},
{name: 'WY', value: [38253,60890,29314,53980,137338,147279,65614]},
];
var options1 = {
id: "demo1",
width: 1100,
height: 500,
data: {
plain: data1,
stacks: ['Under 5 Years', '5 to 13 Years', '14 to 17 Years', '18 to 24 Years', '25 to 44 Years', '45 to 64 Years', '65 Years and Over']
},
title: {
text: "The Populations of different States in America by age group"
}
};
var barChart = new C9.BarChart(options1);
barChart.draw();