d3-color-legend
SVG color legends for continuous or discrete D3 scales
Usage no npm install needed!
<script type="module">
import d3ColorLegend from 'https://cdn.skypack.dev/d3-color-legend';
</script>
SVG color legends for continuous or discrete D3 scales
<script type="module">
import d3ColorLegend from 'https://cdn.skypack.dev/d3-color-legend';
</script>