https://beta.observablehq.com/@mbostock/introduction has a “TODO: import {…} with syntax”
=> yes please
I’m trying to make this work:
https://beta.observablehq.com/@mbostock/introduction has a “TODO: import {…} with syntax”
=> yes please
I’m trying to make this work:
You are replacing a mutable, so you need a mutable to replace it with. Try this:
mutable projection = d3.geoEquirectangular()
import { canvas as c1 } with { mutable projection } from "@mbostock/d3-versor-dragging"
Also that article you linked had been superseded by the introduction collection and I should probably trash it. Though that reminds me I haven’t published my introduction to imports yet.
perfect! thank you