SandDance icon indicating copy to clipboard operation
SandDance copied to clipboard

How to draw map of UK?

Open ZedZipDev opened this issue 6 years ago • 4 comments

I have a database, one of tables contain client list with addresses+UK Postcode. I'd like to draw map of UK and display diagram with amount of clients in each UK region. What should I use? Any template? Thanks for ideas.

ZedZipDev avatar Nov 16 '19 12:11 ZedZipDev

I would suggest you use Vega and sift through their maps examples.

You can try Vega examples with my Vega Viewer ext. for vscode :)

https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-vega-viewer

RandomFractals avatar Nov 20 '19 10:11 RandomFractals

Our viewer does not currently render Vega-based maps. It may be possible to use the maps underlying deck.gl. Can you tell me which component you are using? e.g. sanddance, sanddance-react, sanddance-explorer ?

danmarshall avatar Nov 21 '19 21:11 danmarshall

also, I believe Observable HQ has some UK maps you can pull some code bits from ;)

https://observablehq.com/search?query=UK%20map

deck.gl included ...

RandomFractals avatar Nov 21 '19 21:11 RandomFractals

@danmarshall on my todo list for data preview too :(

https://github.com/RandomFractals/vscode-data-preview/issues/7

RandomFractals avatar Nov 21 '19 21:11 RandomFractals

Hello, you can now use a rasterized image as a background: image

danmarshall avatar Jan 12 '23 23:01 danmarshall