A more formal attempt to create a d3 utility, lichen.js, for patterning SVG shapes.
A bare bones example of a choroleth with texture. Uses four different circle patterns to indicate a variable (in the death rate due to opioid overdose), and color to indicate a second variable (in this case prescription rates).
Legends could take two forms: A grid, or two linear legends. Depending on number of thresholds, either may be preferable.
https://d3js.org/d3.v4.min.js