topogram icon indicating copy to clipboard operation
topogram copied to clipboard

example is not working: pointing to wrong file

Open jalperin opened this issue 7 years ago • 1 comments
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

jalperin avatar Oct 16 '18 06:10 jalperin

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. 🍻

shawnbot avatar Oct 16 '18 18:10 shawnbot