This gist covers how to get mapbox gl js web-based map to display population data from US Census data, specifically, from their TIGER/line product, which has ESRI shapefile and dbf (dBase III) data file
Here is an example of finished product: https://tin6150.github.io/inet-dev-class/mapbox/mapbox-census-pop.html