A coal basin [1] predicts low revenues [2] and political votes for far right [3].
I'm no political or demographical historian, but the gist of the story IMHO is that there was a coal boom. People settled there, and not much else was invested in the region. So when coal mines went bust, no other industry could convert the workers; it created low revenue zones and it fed discontent, which can be seen in the votes.
"Au nord, c'était les corons", as the song says. [4]
[1] https://fr.wikipedia.org/wiki/Bassin_minier_du_Nord-Pas-de-C...
[2] https://www.comeetie.fr/galerie/francepixels/#map/revenus/Rd...
[3] https://www.francetvinfo.fr/elections/infographies-resultats...