我想显示外部JS文件中带有淡褐色眼睛颜色的人数。
还有
前10名最常见的姓氏及其总数。
这是用于Windows / linus服务器的,我需要获取数据。
[
{
"_id": "5ae30d020135436357a4732e",
"balance": "1,171.56",
"age": 46,
"eyeColor": "hazel",
"name": {
"first": "Colon",
"last": "Key"
},
"company": "Orbaxter",
"email": "colonkey@orbaxter.com",
"phone": "+1 (938) 402-3422",
"address": "706 Tennis Court, Kimmell, Indiana, 4057",
"registered": "2014-12-24T10:31:42 -00:00",
"latitude": 22.250647,
"longitude": -67.325278
},
{
"_id": "5ae30d027f167186f52e2e6c",
"balance": "1,383.36",
"age": 23,
"eyeColor": "hazel",
"name": {
"first": "Byrd",
"last": "Walls"
},
"company": "Bizmatic",
"email": "byrdwalls@bizmatic.com",
"phone": "+1 (817) 569-3406",
"address": "187 Lewis Avenue, Lutsen, Oregon, 7387",
"registered": "2017-06-19T09:24:42 -01:00",
"latitude": -60.642235,
"longitude": -62.947158
},
{
"_id": "5ae30d023f1f434dcb1ea87d",
"balance": "2,338.81",
"age": 21,
"eyeColor": "grey",
"name": {
"first": "Sondra",
"last": "Booker"
},
"company": "Aquazure",
"email": "sondrabooker@aquazure.com",
"phone": "+1 (861) 495-3729",
"address": "633 Billings Place, Jacumba, Louisiana, 1488",
"registered": "2017-12-11T08:53:27 -00:00",
"latitude": 18.681413,
"longitude": 93.058578
}
]
我需要获得:
绿眼睛的人数
前10名最常见的姓氏及其总数
最接近艾菲尔铁塔的人的细节
每个蓝眼睛的人的平均年龄