topogram
topogram copied to clipboard
example is not working: pointing to wrong file
trafficstars
Seems to be some things not correctly moved over with the renaming from d3-cartogram to topogram.
I tried simply pointing the import to the cartogram.js file, but then I get the error on the first line of cartogram.js:
SyntaxError: import declarations may only appear at top level of a module
Thanks for reporting this. I haven't checked out the demo for this in a very long time, but I'm fairly certain that you can still install it via npm or get the distributed file from a CDN like unpkg. I've removed the URL from the repo while I work this out. 🍻