title: import {legend} from "@d3/color-legend" What is this in a html code? is there a <script src="***"> available?
body: <p>I am following this code block:
  <a href="https://observablehq.com/@d3/stacked-bar-chart" rel="nofollow noreferrer">https://observablehq.com/@d3/stacked-bar-chart</a>
  I want to make a same legend,
  but I am not writing d3 in a js file,
  I am using html with script,
  I am wondering is there a link available to embed it in html? many thanks!</p>