This repl provides a JavaScript file that allows the user to customize a generated SVG choropleth.
To view this on TripleLog, click here.
The index.html simply loads the map.svg file. The map.svg file should also work on its own.
Add CSS by editing the style.css file that is linked to in the head section or inline edit the style section in the head.
The script.js file simply adds a box to change the colors for the map. The box sizing needs to be properly scaled for a given viewBox.