xxxxxxxxxx
<meta charset = 'utf-8'>
<html>
<head>
<script src='//ramnathv.github.io/rcharts/libraries/widgets/polycharts/js/polychart2.standalone.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
margin-left: auto;
margin-right: auto;
width: 800px;
height: 400px;
}
</style>
</head>
<body >
<div id = 'sum1' class = 'rChart polycharts'></div>
<script type='text/javascript'>
var chartParams = {
"dom": "sum1",
"width": 800,
"height": 400,
"layers": [
{
"x": "date",
"y": "num",
"data": {
"num": [ 1, 3, 5, 6, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 26, 27, 29, 30, 31, 32, 33, 34, 39, 40, 41, 43, 44, 46, 50, 51, 52, 53, 54, 55, 57, 59, 61, 64, 65, 66, 67, 69, 71, 75, 76, 79, 82, 84, 85, 87, 89, 91, 92, 93, 96, 97, 98, 99, 100, 101, 103, 105, 109, 110, 112, 114, 116, 117, 119, 120, 121, 123, 124, 125, 126, 128, 130, 131, 132, 133, 135, 136, 137, 138, 140, 142, 144, 145, 146, 148, 152, 157, 158, 160, 161, 163, 164, 165, 167, 168, 170, 171, 172, 176, 177, 178, 179, 180, 181, 183, 184, 185, 186, 187, 188, 189, 192, 195, 201, 205, 209, 210, 211, 213, 216, 218, 220, 221, 223, 226, 227, 228, 229, 231, 232, 233, 234, 237, 238, 239, 240, 241, 242, 244, 246, 247, 248, 249, 250, 251, 252, 254, 255, 256, 259, 261, 262, 263, 264, 265, 267, 268, 269, 271, 272, 273, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 287, 289, 290, 291, 292, 293, 296, 297, 299, 300, 301, 303, 305, 306, 307, 308, 309, 310, 311, 313 ],
"date": [ 15340, 15348, 15349, 15351, 15352, 15353, 15356, 15363, 15365, 15367, 15368, 15370, 15371, 15373, 15375, 15376, 15378, 15380, 15382, 15383, 15384, 15391, 15396, 15398, 15399, 15400, 15402, 15403, 15404, 15405, 15406, 15409, 15411, 15412, 15413, 15414, 15420, 15422, 15423, 15424, 15426, 15427, 15428, 15429, 15430, 15435, 15436, 15438, 15440, 15442, 15443, 15444, 15446, 15450, 15451, 15452, 15458, 15459, 15460, 15461, 15462, 15465, 15466, 15468, 15469, 15470, 15474, 15475, 15477, 15478, 15479, 15482, 15484, 15485, 15486, 15487, 15488, 15489, 15491, 15492, 15493, 15496, 15503, 15504, 15505, 15507, 15511, 15512, 15513, 15514, 15515, 15516, 15517, 15518, 15519, 15521, 15522, 15523, 15524, 15525, 15526, 15529, 15530, 15531, 15532, 15533, 15534, 15535, 15536, 15538, 15541, 15542, 15543, 15544, 15545, 15546, 15547, 15549, 15551, 15559, 15560, 15561, 15563, 15564, 15565, 15568, 15569, 15570, 15572, 15573, 15574, 15576, 15578, 15580, 15581, 15582, 15583, 15585, 15586, 15588, 15590, 15591, 15594, 15596, 15597, 15599, 15603, 15604, 15606, 15607, 15610, 15611, 15615, 15617, 15618, 15621, 15623, 15624, 15626, 15627, 15631, 15633, 15636, 15637, 15638, 15640, 15645, 15649, 15650, 15652, 15653, 15654, 15655, 15656, 15658, 15662, 15664, 15666, 15667, 15669, 15673, 15674, 15676, 15677, 15678, 15680, 15682, 15686, 15687, 15688, 15689, 15691, 15695, 15696, 15697, 15698, 15699, 15701, 15702, 15704 ],
"city": [ "Atlanta", "Houston", "Miami Metro,", "New Orleans", "St Johns", "Jacksonville", "Little Rock", "Baltimore", "New York", "Rockford", "New York", "Headland", "Chicago", "Mobile", "Rockingham", "Sacramento", "Dallas", "Chicago", "Jacksonville", "Dallas", "New York", "Los Angeles,", "Sanford", "Kershaw", "Galveston", "Atlanta Metro", "West Bend", "Baltimore", "Gainesville", "Bush Creek", "New Orleans", "Cleveland", "Aurora", "Cleveland", "Del City", "New York", "Cleveland", "Detroit", "Atlanta", "Chicago", "Atlanta", "Washington", "St Louis", "Chicago", "Baltimore", "Austin", "Stockton", "Washington", "Fayetteville", "New York", "Memphis", "Chicago", "Birmingham", "Gretna", "Chicago", "Philadelphia", "Birmingham", "Allentown", "Chicago", "Indianapolis", "Pearl", "Fayetteville", "Oakland", "Memphis", "Buckingham", "Baldwin", "Atlanta", "LaGrange", "Birmingham", "Houston", "Baltimore", "Columbus", "Houston", "Birmingham", "Galveston", "Dallas", "Vallejo", "Dallas", "Jacksonville", "Miami", "Dallas", "South San", "Memphis", "Baltimore", "New York", "Atlanta Metro", "Washington", "Atlanta Metro", "Houston", "Chicago", "Dallas", "Johnstown", "Cincinnati", "Atlanta", "Antioch", "Seattle Metro", "Baltimore", "Charlotte", "Anderson", "New York", "Columbia", "Chicago", "Detroit", "St. Louis", "San", "Reisterstown", "Atlanta", "Columbus", "Miami", "Columbus", "Tulsa", "Atlanta", "Los Angeles", "Boston", "Dallas", "Clearwater", "Akron", "Jonesboro", "Tupelo", "Houston", "Chicago", "Baltimore", "Chicago", "Atlanta Metro", "Decatur", "Iowa City", "Cincinnati", "Atlanta", "Chattanooga", "Boston", "Birmingham", "Goldsboro", "Baton Rouge", "Los Angeles", "St. Louis", "Seminole", "Minneapolis", "Vallejo", "Jacksonville", "Orlando", "Cochran", "Alexander", "Atlanta Metro", "Houston", "Chicago", "Omaha", "High Point", "Baltimore", "Seattle", "Memphis", "Lauderhill", "Henderson", "Miami", "Houston", "Hayward", "Washington", "Morgan City", "Houston", "Cincinnati (Mt", "Columbus", "Louisville", "Birmingham", "Minneapolis/S", "New York", "Keller", "New York", "Houston", "Fremont", "St.", "Chicago", "Ward", "Philadelphia", "Detroit", "Philadelphia", "Chicago", "Waterloo", "Cincinnati", "Detroit", "Jacksonville", "Atlanta Metro", "Cleveland", "Fayetteville", "Breaux", "Childersburg", "Atlanta Metro", "Atlanta Metro", "San", "Chester", "Chicago", "Dallas", "Chicago", "Atlantic City", "Macon", "St Louis", "Tahoka", "Houston", "Richland", "Memphis", "Philadelphia", "Hearne" ],
"state": [ "GA", "TX", "FL", "LA", "FL", "FL", "AR", "MD", "NY", "IL", "NY", "AL", "IL", "AL", "NC", "CA", "TX", "IL", "FL", "TX", "NY", "CA", "FL", "SC", "TX", "GA", "WI", "MD", "FL", "PA", "LA", "OH", "IL", "OH", "OK", "NY", "OH", "MI", "GA", "IL", "GA", "DC", "MO", "IL", "MD", "TX", "CA", "MD", "NC", "NY", "TN", "IL", "AL", "LA", "IL", "PA", "AL", "PA", "IL", "IN", "MS", "NC", "CA", "TN", "FL", "LA", "GA", "NY", "AL", "TX", "MD", "OH", "TX", "AL", "TX", "TX", "CA", "TX", "FL", "FL", "TX", "CA", "TN", "MD", "NY", "GA", "DC", "GA", "TX", "IL", "TX", "PA", "OH", "GA", "CA", "WA", "MD", "NC", "SC", "NY", "SC", "IL", "MI", "MO", "CA", "MD", "GA", "OH", "FL", "OH", "OK", "GA", "CA", "MA", "TX", "FL", "OH", "AR", "MS", "TX", "IL", "MD", "IL", "GA", "AL", "IA", "OH", "GA", "TN", "MA", "AL", "NC", "LA", "CA", "MO", "OK", "MN", "CA", "FL", "FL", "GA", "AR", "GA", "TX", "IL", "NE", "NC", "MD", "WA", "TN", "FL", "LA", "FL", "TX", "CA", "DC", "LA", "TX", "OH", "GA", "KY", "AL", "MN", "NY", "TX", "NY", "TX", "CA", "FL", "IL", "AR", "PA", "MI", "PA", "IL", "IA", "OH", "MI", "FL", "GA", "OH", "NC", "LA", "AL", "GA", "GA", "CA", "PA", "IL", "TX", "IL", "NJ", "GA", "MO", "TX", "TX", "WA", "TN", "PA", "TX" ],
"age": [ 17, 18, 23, 21, 59, 17, 31, 20, 22, 29, 17, 33, 15, 24, 36, 47, 27, 47, 24, 26, 52, 22, 17, 26, 34, 24, 20, 13, 29, 45, 20, 20, 37, 23, 18, 30, 42, 18, 18, 52, 18, 19, 34, 25, 29, 35, 32, 26, 26, 27, 38, 22, 28, 21, 20, 31, 13, 23, 27, 28, 30, 27, 17, 38, 31, 34, 28, 22, 38, 24, 31, 28, 51, 27, 44, 30, 42, 44, 32, 29, 21, 15, 19, 17, 23, 26, 44, null, null, 56, 18, 27, 35, 38, 35, 25, 38, 28, 2, 46, 29, 19, 23, 23, 27, 48, 39, 51, 36, 21, 26, 59, 35, 23, 31, 19, 35, 21, 22, 33, 19, 32, 26, 52, 36, 24, 51, 26, 32, 26, 21, null, 32, 22, 18, 24, 19, 23, 27, 17, 31, 30, 27, 26, 22, 29, 60, 46, 77, 15, 73, 32, 26, 45, 21, 22, 44, 37, 26, 26, 31, 22, 41, 18, 42, 20, 22, 37, 36, 15, 21, 19, 64, 35, 20, 22, 19, 25, 17, 38, 43, 25, 16, 36, 20, 19, 38, 30, 38, 30, 23, 18, 49, 39, 35, 21, 29, 32, 39, 28 ]
},
"facet": null,
"type": "area"
}
],
"facet": [],
"guides": [],
"coord": [],
"id": "sum1"
}
_.each(chartParams.layers, function(el){
el.data = polyjs.data(el.data)
})
var graph_sum1 = polyjs.chart(chartParams);
</script>
<script></script>
</body>
</html>
Updated missing url //ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js to //ramnathv.github.io/rcharts/libraries/widgets/polycharts/js/polychart2.standalone.js
https://ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js