Created
February 18, 2020 06:38
-
-
Save hyochan/c34a59661707a5c66be32330cb1c3e2d to your computer and use it in GitHub Desktop.
Sample test data for table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const data = [ | |
| { | |
| date: '2019-12-13', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 48, | |
| appearanceTimeInSecs: 986, | |
| }, | |
| { | |
| date: '2019-12-13', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 98, | |
| appearanceTimeInSecs: 734, | |
| }, | |
| { | |
| date: '2019-12-13', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 146, | |
| appearanceTimeInSecs: 817, | |
| }, | |
| { | |
| date: '2019-12-13', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 12, | |
| appearanceTimeInSecs: 669, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 153, | |
| appearanceTimeInSecs: 904, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 7, | |
| appearanceTimeInSecs: 1058, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 115, | |
| appearanceTimeInSecs: 856, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 38, | |
| appearanceTimeInSecs: 1049, | |
| }, | |
| { | |
| date: '2019-11-28', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 74, | |
| appearanceTimeInSecs: 510, | |
| }, | |
| { | |
| date: '2019-11-28', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 2, | |
| appearanceTimeInSecs: 269, | |
| }, | |
| { | |
| date: '2019-11-28', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 19, | |
| appearanceTimeInSecs: 564, | |
| }, | |
| { | |
| date: '2019-11-28', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 55, | |
| appearanceTimeInSecs: 491, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 14, | |
| appearanceTimeInSecs: 1188, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'bird', | |
| type: 'domain', | |
| visitors: 65, | |
| appearanceTimeInSecs: 478, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'bird', | |
| type: 'domain', | |
| visitors: 79, | |
| appearanceTimeInSecs: 604, | |
| }, | |
| { | |
| date: '2019-11-27', | |
| group: 'bird', | |
| type: 'domain', | |
| visitors: 2, | |
| appearanceTimeInSecs: 2405, | |
| }, | |
| { | |
| date: '2019-12-02', | |
| group: 'bird', | |
| type: 'domain', | |
| visitors: 23, | |
| appearanceTimeInSecs: 729, | |
| }, | |
| { | |
| date: '2019-12-02', | |
| group: 'bird', | |
| type: 'domain', | |
| visitors: 122, | |
| appearanceTimeInSecs: 652, | |
| }, | |
| { | |
| date: '2019-12-02', | |
| group: 'bird', | |
| type: 'domain', | |
| visitors: 99, | |
| appearanceTimeInSecs: 635, | |
| }, | |
| { | |
| date: '2019-12-13', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 101, | |
| appearanceTimeInSecs: 519, | |
| }, | |
| { | |
| date: '2019-12-13', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 5, | |
| appearanceTimeInSecs: 200, | |
| }, | |
| { | |
| date: '2019-12-13', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 21, | |
| appearanceTimeInSecs: 407, | |
| }, | |
| { | |
| date: '2019-12-13', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 80, | |
| appearanceTimeInSecs: 548, | |
| }, | |
| { | |
| date: '2019-12-01', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 90, | |
| appearanceTimeInSecs: 1448, | |
| }, | |
| { | |
| date: '2019-12-01', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 128, | |
| appearanceTimeInSecs: 1406, | |
| }, | |
| { | |
| date: '2019-12-01', | |
| group: 'fish', | |
| type: 'domain', | |
| visitors: 4, | |
| appearanceTimeInSecs: 2186, | |
| }, { | |
| date: '2019-12-01', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 38, | |
| appearanceTimeInSecs: 1306, | |
| }, | |
| { | |
| date: '2019-11-29', | |
| group: 'person', | |
| type: 'domain', | |
| visitors: 200, | |
| appearanceTimeInSecs: 1164, | |
| }, | |
| { | |
| date: '2019-11-29', | |
| group: 'fish', | |
| type: 'domain', | |
| visitors: 7, | |
| appearanceTimeInSecs: 1221, | |
| }, | |
| { | |
| date: '2019-11-29', | |
| group: 'fish', | |
| type: 'domain', | |
| visitors: 155, | |
| appearanceTimeInSecs: 1258, | |
| }, | |
| { | |
| date: '2019-11-29', | |
| group: 'fish', | |
| type: 'domain', | |
| visitors: 45, | |
| appearanceTimeInSecs: 840, | |
| }, | |
| { | |
| date: '2019-12-14', | |
| group: 'animal', | |
| type: 'domain', | |
| visitors: 55, | |
| appearanceTimeInSecs: 444, | |
| }, | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://medium.com/@dooboolab/common-javascript-problem-in-real-life-384be7eb34f5