Skip to content

Instantly share code, notes, and snippets.

@aaizemberg
Last active December 13, 2016 14:53
Show Gist options
  • Save aaizemberg/69ff5f2e0a6b90418d25 to your computer and use it in GitHub Desktop.
Save aaizemberg/69ff5f2e0a6b90418d25 to your computer and use it in GitHub Desktop.
testing MetricsGraphics (line chart)
[
{"date":"2014-10-08","value":856},
{"date":"2014-10-09","value":513},
{"date":"2014-10-10","value":570},
{"date":"2014-10-11","value":373},
{"date":"2014-10-12","value":271},
{"date":"2014-10-13","value":385},
{"date":"2014-10-14","value":507},
{"date":"2014-10-15","value":620},
{"date":"2014-10-16","value":825},
{"date":"2014-10-17","value":661},
{"date":"2014-10-18","value":732},
{"date":"2014-10-19","value":674},
{"date":"2014-10-20","value":847},
{"date":"2014-10-21","value":751},
{"date":"2014-10-22","value":1039},
{"date":"2014-10-23","value":899},
{"date":"2014-10-24","value":1154},
{"date":"2014-10-25","value":512},
{"date":"2014-10-26","value":719},
{"date":"2014-10-27","value":1030},
{"date":"2014-10-28","value":915},
{"date":"2014-10-29","value":922},
{"date":"2014-10-30","value":800},
{"date":"2014-10-31","value":603},
{"date":"2014-11-01","value":854},
{"date":"2014-11-02","value":521},
{"date":"2014-11-03","value":1104},
{"date":"2014-11-04","value":549},
{"date":"2014-11-05","value":1280},
{"date":"2014-11-06","value":868},
{"date":"2014-11-07","value":580},
{"date":"2014-11-08","value":811},
{"date":"2014-11-09","value":763},
{"date":"2014-11-10","value":799},
{"date":"2014-11-11","value":987},
{"date":"2014-11-12","value":1030},
{"date":"2014-11-13","value":1236},
{"date":"2014-11-14","value":819},
{"date":"2014-11-15","value":866},
{"date":"2014-11-16","value":689},
{"date":"2014-11-17","value":1160},
{"date":"2014-11-18","value":1027},
{"date":"2014-11-19","value":1049},
{"date":"2014-11-20","value":802},
{"date":"2014-11-21","value":1241},
{"date":"2014-11-22","value":659},
{"date":"2014-11-23","value":502},
{"date":"2014-11-24","value":925},
{"date":"2014-11-25","value":951},
{"date":"2014-11-26","value":1086},
{"date":"2014-11-27","value":1134},
{"date":"2014-11-28","value":801},
{"date":"2014-11-29","value":771},
{"date":"2014-11-30","value":826},
{"date":"2014-12-01","value":963},
{"date":"2014-12-02","value":991},
{"date":"2014-12-03","value":1056},
{"date":"2014-12-04","value":1299},
{"date":"2014-12-05","value":932},
{"date":"2014-12-06","value":876},
{"date":"2014-12-07","value":751},
{"date":"2014-12-08","value":558},
{"date":"2014-12-09","value":981},
{"date":"2014-12-10","value":978},
{"date":"2014-12-11","value":1403},
{"date":"2014-12-12","value":1039},
{"date":"2014-12-13","value":872},
{"date":"2014-12-14","value":476},
{"date":"2014-12-15","value":1158},
{"date":"2014-12-16","value":1254},
{"date":"2014-12-17","value":1246},
{"date":"2014-12-18","value":1072},
{"date":"2014-12-19","value":849},
{"date":"2014-12-20","value":751},
{"date":"2014-12-21","value":826},
{"date":"2014-12-22","value":1120},
{"date":"2014-12-23","value":1144},
{"date":"2014-12-24","value":752},
{"date":"2014-12-25","value":210},
{"date":"2014-12-26","value":907},
{"date":"2014-12-27","value":538},
{"date":"2014-12-28","value":816},
{"date":"2014-12-29","value":901},
{"date":"2014-12-30","value":974},
{"date":"2014-12-31","value":824},
{"date":"2015-01-01","value":320},
{"date":"2015-01-02","value":874},
{"date":"2015-01-03","value":579},
{"date":"2015-01-04","value":585},
{"date":"2015-01-05","value":844},
{"date":"2015-01-06","value":1160},
{"date":"2015-01-07","value":832},
{"date":"2015-01-08","value":919},
{"date":"2015-01-09","value":1026},
{"date":"2015-01-10","value":675},
{"date":"2015-01-11","value":469},
{"date":"2015-01-12","value":1405},
{"date":"2015-01-13","value":1110},
{"date":"2015-01-14","value":1196},
{"date":"2015-01-15","value":1021},
{"date":"2015-01-16","value":1777},
{"date":"2015-01-17","value":878},
{"date":"2015-01-18","value":968},
{"date":"2015-01-19","value":1355},
{"date":"2015-01-20","value":1255},
{"date":"2015-01-21","value":1632},
{"date":"2015-01-22","value":1192},
{"date":"2015-01-23","value":1554},
{"date":"2015-01-24","value":874},
{"date":"2015-01-25","value":919},
{"date":"2015-01-26","value":1530},
{"date":"2015-01-27","value":4835},
{"date":"2015-01-28","value":3529},
{"date":"2015-01-29","value":6332},
{"date":"2015-01-30","value":3971},
{"date":"2015-01-31","value":3044},
{"date":"2015-02-01","value":3130},
{"date":"2015-02-02","value":4886},
{"date":"2015-02-03","value":6344},
{"date":"2015-02-04","value":4997},
{"date":"2015-02-05","value":5815},
{"date":"2015-02-06","value":4803},
{"date":"2015-02-07","value":3903},
{"date":"2015-02-08","value":3834},
{"date":"2015-02-09","value":4982},
{"date":"2015-02-10","value":5350},
{"date":"2015-02-11","value":5480},
{"date":"2015-02-12","value":5515},
{"date":"2015-02-13","value":4932},
{"date":"2015-02-14","value":4047},
{"date":"2015-02-15","value":3944},
{"date":"2015-02-16","value":4134},
{"date":"2015-02-17","value":4488},
{"date":"2015-02-18","value":5906},
{"date":"2015-02-19","value":5541},
{"date":"2015-02-20","value":5201},
{"date":"2015-02-21","value":4003},
{"date":"2015-02-22","value":4309},
{"date":"2015-02-23","value":5272},
{"date":"2015-02-24","value":5816},
{"date":"2015-02-25","value":6123},
{"date":"2015-02-26","value":5461},
{"date":"2015-02-27","value":5426},
{"date":"2015-02-28","value":3904},
{"date":"2015-03-01","value":3965},
{"date":"2015-03-02","value":6891},
{"date":"2015-03-03","value":5434},
{"date":"2015-03-04","value":6365},
{"date":"2015-03-05","value":3565},
{"date":"2015-03-06","value":8167},
{"date":"2015-03-07","value":4926},
{"date":"2015-03-08","value":4936},
{"date":"2015-03-09","value":6468},
{"date":"2015-03-10","value":5444},
{"date":"2015-03-11","value":5143},
{"date":"2015-03-12","value":7904},
{"date":"2015-03-13","value":6105},
{"date":"2015-03-14","value":4796},
{"date":"2015-03-15","value":5027},
{"date":"2015-03-16","value":6205},
{"date":"2015-03-17","value":6490},
{"date":"2015-03-18","value":6543},
{"date":"2015-03-19","value":6622},
{"date":"2015-03-20","value":6339},
{"date":"2015-03-21","value":4669},
{"date":"2015-03-22","value":4189},
{"date":"2015-03-23","value":1277},
{"date":"2015-03-25","value":7887},
{"date":"2015-03-26","value":6769},
{"date":"2015-03-27","value":5744},
{"date":"2015-03-28","value":4744},
{"date":"2015-03-29","value":4999},
{"date":"2015-03-30","value":6262},
{"date":"2015-03-31","value":6270},
{"date":"2015-04-01","value":7041},
{"date":"2015-04-02","value":5530},
{"date":"2015-04-03","value":4095},
{"date":"2015-04-04","value":4635},
{"date":"2015-04-05","value":4844},
{"date":"2015-04-06","value":6194},
{"date":"2015-04-07","value":6714},
{"date":"2015-04-08","value":6664},
{"date":"2015-04-09","value":6722},
{"date":"2015-04-10","value":6000},
{"date":"2015-04-11","value":4853},
{"date":"2015-04-12","value":4954},
{"date":"2015-04-13","value":6411},
{"date":"2015-04-14","value":6931},
{"date":"2015-04-15","value":6463},
{"date":"2015-04-16","value":6280},
{"date":"2015-04-17","value":5795},
{"date":"2015-04-18","value":4748},
{"date":"2015-04-19","value":5242},
{"date":"2015-04-20","value":6278},
{"date":"2015-04-21","value":6694},
{"date":"2015-04-22","value":6661},
{"date":"2015-04-23","value":6507},
{"date":"2015-04-24","value":6186},
{"date":"2015-04-25","value":4468},
{"date":"2015-04-26","value":5712},
{"date":"2015-04-27","value":6433},
{"date":"2015-04-28","value":6559},
{"date":"2015-04-29","value":6697},
{"date":"2015-04-30","value":6333},
{"date":"2015-05-01","value":3465},
{"date":"2015-05-02","value":4641},
{"date":"2015-05-03","value":5087},
{"date":"2015-05-04","value":6177},
{"date":"2015-05-05","value":6309},
{"date":"2015-05-06","value":6644},
{"date":"2015-05-07","value":6343},
{"date":"2015-05-08","value":6086},
{"date":"2015-05-09","value":4761},
{"date":"2015-05-10","value":4746},
{"date":"2015-05-11","value":6184},
{"date":"2015-05-12","value":6652},
{"date":"2015-05-13","value":6239},
{"date":"2015-05-14","value":6587},
{"date":"2015-05-15","value":6200},
{"date":"2015-05-16","value":4750},
{"date":"2015-05-17","value":4983},
{"date":"2015-05-18","value":5666},
{"date":"2015-05-19","value":6444},
{"date":"2015-05-20","value":6604},
{"date":"2015-05-21","value":6460},
{"date":"2015-05-22","value":6233},
{"date":"2015-05-23","value":4630},
{"date":"2015-05-24","value":5254},
{"date":"2015-05-25","value":4926},
{"date":"2015-05-26","value":6454},
{"date":"2015-05-27","value":6460},
{"date":"2015-05-28","value":6479},
{"date":"2015-05-29","value":6069},
{"date":"2015-05-30","value":4745},
{"date":"2015-05-31","value":4709},
{"date":"2015-06-01","value":6083},
{"date":"2015-06-02","value":6009},
{"date":"2015-06-03","value":6461},
{"date":"2015-06-04","value":6226},
{"date":"2015-06-05","value":5988},
{"date":"2015-06-06","value":4652},
{"date":"2015-06-07","value":4728},
{"date":"2015-06-08","value":5764},
{"date":"2015-06-09","value":6009},
{"date":"2015-06-10","value":6456},
{"date":"2015-06-11","value":6306},
{"date":"2015-06-12","value":6045},
{"date":"2015-06-13","value":4656},
{"date":"2015-06-14","value":4930},
{"date":"2015-06-15","value":6001},
{"date":"2015-06-16","value":6060},
{"date":"2015-06-17","value":4368},
{"date":"2015-06-18","value":4571},
{"date":"2015-06-19","value":5392},
{"date":"2015-06-22","value":6564},
{"date":"2015-06-23","value":6456},
{"date":"2015-06-24","value":6234},
{"date":"2015-06-25","value":5496},
{"date":"2015-06-26","value":5640},
{"date":"2015-06-27","value":4529},
{"date":"2015-06-28","value":4647},
{"date":"2015-06-29","value":5930},
{"date":"2015-06-30","value":6232},
{"date":"2015-07-01","value":6498},
{"date":"2015-07-02","value":6258},
{"date":"2015-07-03","value":5692},
{"date":"2015-07-04","value":4442},
{"date":"2015-07-05","value":5369},
{"date":"2015-07-06","value":4236},
{"date":"2015-07-07","value":3598},
{"date":"2015-07-08","value":6348},
{"date":"2015-07-09","value":4999},
{"date":"2015-07-10","value":5743},
{"date":"2015-07-11","value":4447},
{"date":"2015-07-12","value":4897},
{"date":"2015-07-13","value":5881},
{"date":"2015-07-14","value":6151},
{"date":"2015-07-15","value":6040},
{"date":"2015-07-16","value":5670},
{"date":"2015-07-17","value":5380},
{"date":"2015-07-18","value":4544},
{"date":"2015-07-19","value":4603},
{"date":"2015-07-20","value":5356},
{"date":"2015-07-21","value":5820},
{"date":"2015-07-22","value":5866},
{"date":"2015-07-23","value":5475},
{"date":"2015-07-24","value":5074},
{"date":"2015-07-25","value":4136},
{"date":"2015-07-26","value":4395},
{"date":"2015-07-27","value":5135},
{"date":"2015-07-28","value":4507},
{"date":"2015-07-29","value":5762},
{"date":"2015-07-30","value":5093},
{"date":"2015-07-31","value":4213},
{"date":"2015-08-01","value":4420},
{"date":"2015-08-02","value":4310},
{"date":"2015-08-03","value":5374},
{"date":"2015-08-04","value":5975},
{"date":"2015-08-05","value":5684},
{"date":"2015-08-06","value":5892},
{"date":"2015-08-07","value":5497},
{"date":"2015-08-08","value":3033},
{"date":"2015-08-09","value":4149},
{"date":"2015-08-10","value":6305},
{"date":"2015-08-11","value":5924},
{"date":"2015-08-12","value":6023},
{"date":"2015-08-13","value":5798},
{"date":"2015-08-14","value":5543},
{"date":"2015-08-15","value":4301},
{"date":"2015-08-16","value":4311},
{"date":"2015-08-17","value":4364},
{"date":"2015-08-18","value":5130},
{"date":"2015-08-19","value":5668},
{"date":"2015-08-20","value":6060},
{"date":"2015-08-21","value":5743},
{"date":"2015-08-22","value":4326},
{"date":"2015-08-23","value":4700},
{"date":"2015-08-24","value":5913},
{"date":"2015-08-25","value":6243},
{"date":"2015-08-26","value":6301},
{"date":"2015-08-27","value":6036},
{"date":"2015-08-28","value":5729},
{"date":"2015-08-29","value":4373},
{"date":"2015-08-30","value":4527},
{"date":"2015-08-31","value":6002},
{"date":"2015-09-01","value":6084},
{"date":"2015-09-02","value":6049},
{"date":"2015-09-03","value":6378},
{"date":"2015-09-04","value":5760},
{"date":"2015-09-05","value":4391},
{"date":"2015-09-06","value":4268},
{"date":"2015-09-07","value":5871},
{"date":"2015-09-08","value":6160},
{"date":"2015-09-09","value":5689},
{"date":"2015-09-10","value":4823},
{"date":"2015-09-11","value":1189},
{"date":"2015-09-12","value":3435},
{"date":"2015-09-13","value":2169},
{"date":"2015-09-14","value":2909},
{"date":"2015-09-15","value":2992},
{"date":"2015-09-16","value":3122},
{"date":"2015-09-17","value":2953},
{"date":"2015-09-18","value":2481},
{"date":"2015-09-19","value":2033},
{"date":"2015-09-20","value":2009},
{"date":"2015-09-21","value":2771},
{"date":"2015-09-22","value":2184},
{"date":"2015-09-25","value":3743},
{"date":"2015-09-28","value":6841},
{"date":"2015-09-29","value":5619},
{"date":"2015-09-30","value":5788},
{"date":"2015-10-01","value":5849},
{"date":"2015-10-02","value":5469},
{"date":"2015-10-03","value":4121},
{"date":"2015-10-04","value":4443},
{"date":"2015-10-05","value":4873},
{"date":"2015-10-06","value":5780},
{"date":"2015-10-07","value":5648},
{"date":"2015-10-08","value":5672},
{"date":"2015-10-09","value":5210},
{"date":"2015-10-10","value":4069},
{"date":"2015-10-11","value":4155},
{"date":"2015-10-12","value":4111},
{"date":"2015-10-13","value":5811},
{"date":"2015-10-14","value":5701},
{"date":"2015-10-15","value":5665},
{"date":"2015-10-16","value":5392},
{"date":"2015-10-17","value":4383},
{"date":"2015-10-18","value":4129},
{"date":"2015-10-19","value":5250},
{"date":"2015-10-20","value":5339},
{"date":"2015-10-21","value":5545},
{"date":"2015-10-22","value":5322},
{"date":"2015-10-23","value":4803},
{"date":"2015-10-24","value":3734},
{"date":"2015-10-25","value":5306},
{"date":"2015-10-26","value":5291},
{"date":"2015-10-27","value":4708},
{"date":"2015-10-28","value":5482},
{"date":"2015-10-29","value":5368},
{"date":"2015-10-30","value":4891},
{"date":"2015-10-31","value":3648},
{"date":"2015-11-01","value":4011},
{"date":"2015-11-02","value":4773},
{"date":"2015-11-03","value":5364},
{"date":"2015-11-04","value":5208},
{"date":"2015-11-05","value":5238},
{"date":"2015-11-06","value":5283},
{"date":"2015-11-07","value":2582},
{"date":"2015-11-08","value":4033},
{"date":"2015-11-09","value":5115},
{"date":"2015-11-10","value":5259},
{"date":"2015-11-11","value":4988},
{"date":"2015-11-12","value":4973},
{"date":"2015-11-13","value":5410},
{"date":"2015-11-14","value":4118},
{"date":"2015-11-15","value":3906},
{"date":"2015-11-16","value":3613},
{"date":"2015-11-20","value":5666},
{"date":"2015-11-21","value":3443},
{"date":"2015-11-22","value":4116},
{"date":"2015-11-23","value":5448},
{"date":"2015-11-24","value":5168},
{"date":"2015-11-25","value":5187},
{"date":"2015-11-26","value":5177},
{"date":"2015-11-27","value":4013},
{"date":"2015-11-28","value":3518},
{"date":"2015-11-29","value":3750},
{"date":"2015-11-30","value":4740},
{"date":"2015-12-01","value":4946},
{"date":"2015-12-02","value":5014},
{"date":"2015-12-03","value":4890},
{"date":"2015-12-04","value":4755},
{"date":"2015-12-05","value":3635},
{"date":"2015-12-06","value":3825},
{"date":"2015-12-07","value":3850},
{"date":"2015-12-08","value":4057},
{"date":"2015-12-09","value":5246},
{"date":"2015-12-10","value":5154},
{"date":"2015-12-11","value":4949},
{"date":"2015-12-12","value":3595},
{"date":"2015-12-13","value":3742},
{"date":"2015-12-14","value":4342},
{"date":"2015-12-15","value":4486},
{"date":"2015-12-16","value":5153},
{"date":"2015-12-17","value":4853},
{"date":"2015-12-18","value":4852},
{"date":"2015-12-19","value":3647},
{"date":"2015-12-20","value":3764},
{"date":"2015-12-21","value":4804},
{"date":"2015-12-22","value":4915},
{"date":"2015-12-23","value":4848},
{"date":"2015-12-24","value":3850},
{"date":"2015-12-25","value":1945},
{"date":"2015-12-26","value":3008},
{"date":"2015-12-27","value":3247},
{"date":"2015-12-28","value":4539},
{"date":"2015-12-29","value":4739},
{"date":"2015-12-30","value":4638},
{"date":"2015-12-31","value":3650},
{"date":"2016-01-01","value":2036},
{"date":"2016-01-02","value":3096},
{"date":"2016-01-03","value":3451},
{"date":"2016-01-04","value":4511},
{"date":"2016-01-05","value":4727},
{"date":"2016-01-06","value":4916},
{"date":"2016-01-07","value":4541},
{"date":"2016-01-08","value":3770},
{"date":"2016-01-09","value":3359},
{"date":"2016-01-10","value":1688},
{"date":"2016-01-11","value":5035},
{"date":"2016-01-12","value":4134},
{"date":"2016-01-13","value":2381},
{"date":"2016-01-25","value":8266},
{"date":"2016-01-26","value":5146},
{"date":"2016-01-27","value":4914},
{"date":"2016-01-28","value":4879},
{"date":"2016-01-29","value":4566},
{"date":"2016-01-30","value":3642},
{"date":"2016-01-31","value":3418},
{"date":"2016-02-01","value":4556},
{"date":"2016-02-02","value":2722},
{"date":"2016-02-03","value":6212},
{"date":"2016-02-04","value":4914},
{"date":"2016-02-05","value":4601},
{"date":"2016-02-06","value":3630},
{"date":"2016-02-07","value":3665},
{"date":"2016-02-08","value":3724},
{"date":"2016-02-09","value":3737},
{"date":"2016-02-10","value":4628},
{"date":"2016-02-11","value":4542},
{"date":"2016-02-12","value":4266},
{"date":"2016-02-13","value":3389},
{"date":"2016-02-14","value":3242},
{"date":"2016-02-15","value":4417},
{"date":"2016-02-16","value":4649},
{"date":"2016-02-17","value":4735},
{"date":"2016-02-18","value":1827},
{"date":"2016-02-19","value":1682},
{"date":"2016-02-20","value":1216},
{"date":"2016-02-21","value":1173},
{"date":"2016-02-22","value":941},
{"date":"2016-03-18","value":40},
{"date":"2016-03-21","value":8935},
{"date":"2016-03-22","value":4779},
{"date":"2016-03-23","value":4363},
{"date":"2016-03-24","value":1877},
{"date":"2016-03-25","value":1130},
{"date":"2016-03-26","value":3541},
{"date":"2016-03-27","value":3202},
{"date":"2016-03-28","value":4319},
{"date":"2016-03-29","value":4727},
{"date":"2016-03-30","value":4752},
{"date":"2016-03-31","value":4763},
{"date":"2016-04-01","value":4533},
{"date":"2016-04-02","value":3320},
{"date":"2016-04-03","value":3333},
{"date":"2016-04-04","value":2906},
{"date":"2016-04-05","value":5331},
{"date":"2016-04-06","value":4590},
{"date":"2016-04-07","value":4504},
{"date":"2016-04-08","value":4487},
{"date":"2016-04-09","value":3407},
{"date":"2016-04-10","value":3756},
{"date":"2016-04-11","value":4665},
{"date":"2016-04-12","value":4953},
{"date":"2016-04-13","value":5137},
{"date":"2016-04-14","value":4942},
{"date":"2016-04-15","value":4675},
{"date":"2016-04-16","value":3434},
{"date":"2016-04-17","value":3345},
{"date":"2016-04-18","value":4800},
{"date":"2016-04-19","value":4962},
{"date":"2016-04-20","value":4874},
{"date":"2016-04-21","value":4785},
{"date":"2016-04-22","value":2501},
{"date":"2016-04-23","value":4027},
{"date":"2016-04-24","value":3516},
{"date":"2016-04-25","value":4467},
{"date":"2016-04-26","value":4856},
{"date":"2016-04-27","value":4920},
{"date":"2016-04-28","value":4368},
{"date":"2016-04-29","value":4624},
{"date":"2016-04-30","value":3560},
{"date":"2016-05-01","value":2095},
{"date":"2016-05-02","value":4257},
{"date":"2016-05-03","value":4460},
{"date":"2016-05-04","value":4346},
{"date":"2016-05-05","value":2486},
{"date":"2016-05-06","value":2233},
{"date":"2016-05-07","value":1636},
{"date":"2016-05-08","value":1597},
{"date":"2016-05-09","value":1919},
{"date":"2016-05-10","value":2340},
{"date":"2016-05-11","value":2170},
{"date":"2016-05-12","value":2283},
{"date":"2016-05-13","value":2119},
{"date":"2016-05-14","value":1534},
{"date":"2016-05-15","value":1610},
{"date":"2016-05-16","value":2150},
{"date":"2016-05-17","value":2246},
{"date":"2016-05-18","value":2350},
{"date":"2016-05-19","value":2303},
{"date":"2016-05-20","value":6286},
{"date":"2016-05-21","value":3078},
{"date":"2016-05-22","value":3331},
{"date":"2016-05-23","value":4322},
{"date":"2016-05-24","value":4638},
{"date":"2016-05-25","value":3649},
{"date":"2016-05-26","value":4491},
{"date":"2016-05-27","value":4347},
{"date":"2016-05-28","value":3089},
{"date":"2016-05-29","value":3216},
{"date":"2016-05-30","value":4216},
{"date":"2016-05-31","value":4623},
{"date":"2016-06-01","value":4578},
{"date":"2016-06-02","value":4574},
{"date":"2016-06-03","value":4264},
{"date":"2016-06-04","value":2992},
{"date":"2016-06-05","value":3057},
{"date":"2016-06-06","value":4126},
{"date":"2016-06-07","value":4391},
{"date":"2016-06-08","value":4626},
{"date":"2016-06-09","value":4463},
{"date":"2016-06-10","value":4129},
{"date":"2016-06-11","value":3181},
{"date":"2016-06-12","value":3314},
{"date":"2016-06-13","value":4215},
{"date":"2016-06-14","value":4737},
{"date":"2016-06-15","value":4700},
{"date":"2016-06-16","value":4772},
{"date":"2016-06-17","value":3761},
{"date":"2016-06-18","value":3047},
{"date":"2016-06-19","value":3281},
{"date":"2016-06-20","value":3524},
{"date":"2016-06-21","value":4613},
{"date":"2016-06-22","value":4682},
{"date":"2016-06-23","value":4568},
{"date":"2016-06-24","value":4404},
{"date":"2016-06-25","value":3268},
{"date":"2016-06-26","value":3158},
{"date":"2016-06-27","value":4148},
{"date":"2016-06-28","value":4553},
{"date":"2016-06-29","value":4808},
{"date":"2016-06-30","value":4623},
{"date":"2016-07-01","value":4294},
{"date":"2016-07-02","value":3230},
{"date":"2016-07-03","value":3225},
{"date":"2016-07-04","value":4090},
{"date":"2016-07-05","value":4631},
{"date":"2016-07-06","value":4878},
{"date":"2016-07-07","value":4746},
{"date":"2016-07-08","value":3769},
{"date":"2016-07-09","value":3234},
{"date":"2016-07-10","value":3137},
{"date":"2016-07-11","value":4289},
{"date":"2016-07-12","value":4555},
{"date":"2016-07-13","value":4570},
{"date":"2016-07-14","value":4657},
{"date":"2016-07-15","value":3831},
{"date":"2016-07-16","value":87},
{"date":"2016-07-18","value":5267},
{"date":"2016-07-19","value":4639},
{"date":"2016-07-20","value":4470},
{"date":"2016-07-21","value":4277},
{"date":"2016-07-22","value":4248},
{"date":"2016-07-23","value":3225},
{"date":"2016-07-24","value":3116},
{"date":"2016-07-25","value":3993},
{"date":"2016-07-26","value":4425},
{"date":"2016-07-27","value":4407},
{"date":"2016-07-28","value":4582},
{"date":"2016-07-29","value":3241},
{"date":"2016-07-30","value":3139},
{"date":"2016-07-31","value":3357},
{"date":"2016-08-01","value":4137},
{"date":"2016-08-02","value":4481},
{"date":"2016-08-03","value":4515},
{"date":"2016-08-04","value":4413},
{"date":"2016-08-05","value":4236},
{"date":"2016-08-06","value":2968},
{"date":"2016-08-07","value":2985},
{"date":"2016-08-08","value":4263},
{"date":"2016-08-09","value":4562},
{"date":"2016-08-10","value":4419},
{"date":"2016-08-11","value":4556},
{"date":"2016-08-12","value":4215},
{"date":"2016-08-13","value":2898},
{"date":"2016-08-14","value":2988},
{"date":"2016-08-15","value":3275},
{"date":"2016-08-16","value":4358},
{"date":"2016-08-17","value":4512},
{"date":"2016-08-18","value":4402},
{"date":"2016-08-19","value":4093},
{"date":"2016-08-20","value":2889},
{"date":"2016-08-21","value":2858},
{"date":"2016-08-22","value":4059},
{"date":"2016-08-23","value":4356},
{"date":"2016-08-24","value":4488},
{"date":"2016-08-25","value":4569},
{"date":"2016-08-26","value":4216},
{"date":"2016-08-27","value":3130},
{"date":"2016-08-28","value":2939},
{"date":"2016-08-29","value":4097},
{"date":"2016-08-30","value":4416},
{"date":"2016-08-31","value":4526},
{"date":"2016-09-01","value":4514},
{"date":"2016-09-02","value":4149},
{"date":"2016-09-03","value":2952},
{"date":"2016-09-04","value":2901},
{"date":"2016-09-05","value":4025},
{"date":"2016-09-06","value":4351},
{"date":"2016-09-07","value":4208},
{"date":"2016-09-08","value":4569},
{"date":"2016-09-09","value":4218},
{"date":"2016-09-10","value":3106},
{"date":"2016-09-11","value":3093},
{"date":"2016-09-12","value":4212},
{"date":"2016-09-13","value":4611},
{"date":"2016-09-14","value":4567},
{"date":"2016-09-15","value":4586},
{"date":"2016-09-16","value":4135},
{"date":"2016-09-17","value":3116},
{"date":"2016-09-18","value":3217},
{"date":"2016-09-19","value":4179},
{"date":"2016-09-20","value":4281},
{"date":"2016-09-21","value":4632},
{"date":"2016-09-22","value":4442},
{"date":"2016-09-23","value":4054},
{"date":"2016-09-24","value":2978},
{"date":"2016-09-25","value":3111},
{"date":"2016-09-26","value":4010},
{"date":"2016-09-27","value":4493},
{"date":"2016-09-28","value":4410},
{"date":"2016-09-29","value":4280},
{"date":"2016-09-30","value":4282},
{"date":"2016-10-01","value":3075},
{"date":"2016-10-02","value":3073},
{"date":"2016-10-03","value":3711},
{"date":"2016-10-04","value":4341},
{"date":"2016-10-05","value":4273},
{"date":"2016-10-06","value":4358},
{"date":"2016-10-07","value":3935},
{"date":"2016-10-08","value":3005},
{"date":"2016-10-09","value":3017},
{"date":"2016-10-10","value":3234},
{"date":"2016-10-11","value":4115},
{"date":"2016-10-12","value":4242},
{"date":"2016-10-13","value":4442},
{"date":"2016-10-14","value":4431},
{"date":"2016-10-15","value":3203},
{"date":"2016-10-16","value":3129},
{"date":"2016-10-17","value":3896},
{"date":"2016-10-18","value":4229},
{"date":"2016-10-19","value":4225},
{"date":"2016-10-20","value":4273},
{"date":"2016-10-21","value":4076},
{"date":"2016-10-22","value":3019},
{"date":"2016-10-23","value":3121},
{"date":"2016-10-24","value":3835},
{"date":"2016-10-25","value":4148},
{"date":"2016-10-26","value":4257},
{"date":"2016-10-27","value":4431},
{"date":"2016-10-28","value":4042},
{"date":"2016-10-29","value":2987},
{"date":"2016-10-30","value":2894},
{"date":"2016-10-31","value":3508},
{"date":"2016-11-01","value":3829},
{"date":"2016-11-02","value":3902},
{"date":"2016-11-03","value":3823},
{"date":"2016-11-04","value":3655},
{"date":"2016-11-05","value":3003},
{"date":"2016-11-06","value":2831},
{"date":"2016-11-07","value":3159},
{"date":"2016-11-08","value":3870},
{"date":"2016-11-09","value":3977},
{"date":"2016-11-10","value":3933},
{"date":"2016-11-11","value":3807},
{"date":"2016-11-12","value":2720},
{"date":"2016-11-13","value":2712},
{"date":"2016-11-14","value":3506},
{"date":"2016-11-15","value":3985},
{"date":"2016-11-16","value":3737},
{"date":"2016-11-17","value":3743},
{"date":"2016-11-18","value":3558},
{"date":"2016-11-19","value":3028},
{"date":"2016-11-20","value":2920},
{"date":"2016-11-21","value":3384},
{"date":"2016-11-22","value":3920},
{"date":"2016-11-23","value":4181},
{"date":"2016-11-24","value":4123},
{"date":"2016-11-25","value":3861},
{"date":"2016-11-26","value":2954},
{"date":"2016-11-27","value":2829},
{"date":"2016-11-28","value":2978},
{"date":"2016-11-29","value":3849},
{"date":"2016-11-30","value":3790},
{"date":"2016-12-01","value":3799},
{"date":"2016-12-02","value":3523},
{"date":"2016-12-03","value":2714},
{"date":"2016-12-04","value":2730},
{"date":"2016-12-05","value":3551},
{"date":"2016-12-06","value":3692},
{"date":"2016-12-07","value":3673},
{"date":"2016-12-08","value":3094},
{"date":"2016-12-09","value":3037},
{"date":"2016-12-10","value":2625},
{"date":"2016-12-11","value":2749},
{"date":"2016-12-12","value":3253},
{"date":"2016-12-13","value":1796}
]
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<title>Line Chart using MG</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/metrics-graphics/2.7.0/metricsgraphics.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/metrics-graphics/2.7.0/metricsgraphics.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id='linechart'></div>
<script>
d3.json('data.json', function(data) {
data = MG.convert.date(data, "date");
MG.data_graphic({
title: "Articulos ingresados",
// description: "...",
data: data,
width: 960,
height: 500,
target: document.getElementById('linechart'),
x_accessor: 'date',
y_accessor: 'value'
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment