<Tr> <Th> Poll source </Th> <Th> Date (s) administered </Th> <Th> Sample size </Th> <Th> Margin of error </Th> <Th> Vi Lyles (D) </Th> <Th> Kenny Smith (R) </Th> <Th> Undecided </Th> </Tr> <Tr> <Td> SurveyUSA </Td> <Td> October 18--21, 2017 </Td> <Td> 517 </Td> <Td> ± 4.4% </Td> <Td> 41% </Td> <Td> 40% </Td> <Td> 19% </Td> </Tr> <Table> <Tr> <Th_colspan="2"> Candidates </Th> <Th_colspan="2"> General Election - Nov. 7 </Th> </Tr> <Tr> <Th> Candidate </Th> <Th> Party </Th> <Th> Votes </Th> <Th> Percent </Th> </Tr> <Tr> <Td> Vi Lyles </Td> <Td> Democratic </Td> <Td> 71,876 </Td> <Td> 59.13% </Td> </Tr> <Tr> <Td> Kenny Smith </Td> <Td> Republican </Td> <Td> 49,555 </Td> <Td> 40.77% </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Candidates </Th> <Th_colspan="2"> General Election - Nov. 7 </Th> </Tr>

Who is running for mayor of charlotte nc