const gender = [ 'male' , 'female' ] ; const firstNames = [ 'Ella' , 'Sileas' , 'Dorice' , 'Marnia' , 'Layney' , 'Amabelle' , 'Daffy' , 'Timmi' , 'Devondra' , 'Demetria' , 'Henka' , 'Lurleen' , 'Gennie' , 'Jane' , 'Gale' , 'Micky' , 'Dreddy' , 'Hyacintha' , 'Jenda' , 'Ninette' , 'Sharline' , 'Harmonie' , 'Catie' , 'Corrinne' , 'Floris' , 'Audrie' , 'Alexis' , 'Isabella' , 'Glynis' , 'Honey' , 'Nyssa' , 'Grazia' , 'Riki' , 'Mirabelle' , 'Greta' , 'Doralynne' , 'Ealasaid' , 'Harley' , 'Berri' , 'Margaux' , 'Doreen' , 'Bambie' , 'Korella' , 'Koo' , 'Barb' , 'Ingaborg' , 'Ag' , 'Chryste' , 'Ileane' , 'Fionna' , 'Kathie' , 'Ebony' , 'Filide' , 'Rebe' , 'Willabella' , 'Raphaela' , 'Minna' , 'Danna' , 'Trudey' , 'Arline' , 'Jaynell' , 'Constantina' , 'Roz' , 'Sadie' , 'Milli' , 'Petra' , 'Hyacinthie' , 'Anabel' , 'Marcelle' , 'Tricia' , 'Perry' , 'Jess' , 'Ethelin' , 'Indira' , 'Ediva' , 'Biddy' , 'Deena' , 'Deonne' , 'Karleen' , 'Winny' , 'Meggy' , 'Inga' , 'Meredith' , 'Honey' , 'Grace' , 'Daloris' , 'Rianon' , 'Melisent' , 'Flora' , 'Bendite' , 'Issie' , 'Britte' , 'Ermengarde' , 'Rosetta' , 'Michal' , 'Philomena' , 'Laurie' , 'Annabela' , 'Dottie' , 'Karilynn' ] ; const lastNames = [ 'Jamison' , 'Frank' , 'Shaw' , 'Mcdaniel' , 'Parsons' , 'Serrano' , 'Hughes' , 'Cobb' , 'Altman' , 'Schaeffer' , 'Crump' , 'Stanfield' , 'Crowe' , 'Hahn' , 'Lennon' , 'Oconnor' , 'Perry' , 'Fink' , 'Rouse' , 'Oconnor' , 'Pittman' , 'Rowley' , 'Fulton' , 'Chappell' , 'Hummel' , 'Rhoads' , 'Goodman' , 'Castellanos' , 'Blackmon' , 'Knight' , 'Burch' , 'Major' , 'Hatfield' , 'Waddell' , 'Buckner' , 'Wagoner' , 'Rowell' , 'Sargent' , 'Metzger' , 'Glaser' , 'Wallis' , 'Hummel' , 'Mathis' , 'Fernandes' , 'Robinson' , 'Robb' , 'Yoon' , 'Hoffman' , 'Montano' , 'Stevens' , 'Eller' , 'Swenson' , 'Maxey' , 'Allison' , 'Cunningham' , 'Monk' , 'Cloud' , 'Hopkins' , 'Richter' , 'Paxton' , 'Patel' , 'Tinsley' , 'Vance' , 'Pham' , 'Elam' , 'Lemon' , 'Goodson' , 'Cheung' , 'Molina' , 'Creech' , 'Chambers' , 'Jones' , 'Pemberton' , 'Burger' , 'Pelletier' , 'Hamrick' , 'Whatley' , 'Bowie' , 'Oldham' , 'Brantley' , 'James' , 'Corey' , 'Riggs' , 'Fournier' , 'Sanders' , 'Mcdonald' , 'Pepper' , 'Estrada' , 'Navarro' , 'Pope' , 'Dowell' , 'Childress' , 'Stanford' , 'Fallon' , 'Sykes' , 'Bernstein' , 'Tierney' , 'Lloyd' , 'Hammer' , 'Dodd' ] ; export function createData ( rows = 10000 ) { let data = [ ] ; for ( let i = 0 ; i < rows ; i ++ ) { data . push ( { id : i , firstName : firstNames [ Math . floor ( Math . random ( ) * firstNames . length ) ] , middleName : firstNames [ Math . floor ( Math . random ( ) * firstNames . length ) ] , lastName : lastNames [ Math . floor ( Math . random ( ) * lastNames . length ) ] , otherName : lastNames [ Math . floor ( Math . random ( ) * lastNames . length ) ] , gender : gender [ i % 2 ] } ) ; } return data ; }