When robots come for our jobs, the first people to fall will be those working in retail and fast food restaurants as well as the ubiquitous secretaries who are an indispensable part of the corporate world.

It may not happen overnight but slowly, machines are gaining on man’s turf and in a decade or two, about 50% of jobs in existence today will have gone the way of dinosaurs, or in this case, automation, according to Henrik Lindberg, chief technology officer at Swedish fintech company Zimpler.

Using data from a comprehensive employment report from University of Oxford, Lindberg drew up a monochrome chart, reproduced by Visual Capitalist, that illustrates a society that is increasingly relying on robots.

“As computers get better at, for example, perception—think self-driving car—those services jobs are likely next up to be replaced by machines,” said Jeff Desjardins, an editor of Visual Capitalist.

In the chart above, the black field shows jobs that will disappear with automation while the white represents those that are projected to survive.

View larger chart

The most vulnerable are those in the services sector including cashiers and truck drivers. It will also likely affect low-income workers more than those making six figures.

Occupations that are expected to remain in demand for a live human are, not surprisingly, those that require compassion, understanding and moral judgment, such as nurses, teachers and police officers, according to Desjardins.

Still, even as mankind continues to cede the labor force to robots, it’s not necessarily the end of civilization as we know it.

“While machines destroy jobs, they also often create new ones,” said Desjardins, echoing Marc Andreessen’s view that robots will not replace people en masse.

To be sure, not all job losses can be blamed on robots. As the graphic below shows, even without automation, the composition of the U.S. job market has changed over the years as the U.S. economy evolves, making some industries virtually obsolete while others thrive.

Visual Capitalist

Still, those in the at-risk sectors may find it difficult to be optimistic.