In this repo I've collected some examples on how to combine mapboxgl (beautiful vector-tiled maps!) with the plotting power of d3.
See also my tutorial on combining d3 and mapbox
Download the repo and open the files in your favorite browser.
Note that you need to insert a valid mapbox access token at the beginning of each script.