Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

choropleth and bubbleMap at the same time? #18

Closed
gihco opened this issue Apr 22, 2020 · 7 comments
Closed

choropleth and bubbleMap at the same time? #18

gihco opened this issue Apr 22, 2020 · 7 comments
Assignees
Labels
question Further information is requested
Projects

Comments

@gihco
Copy link

gihco commented Apr 22, 2020

Hi,
It seems that it will not be possible to have choropleth and bubbles at the same time as both are represented by its own chart type, right?
Is there something I'm missing?
Is this something you plan to add for the future?
Many thanks!

@gihco gihco added the question Further information is requested label Apr 22, 2020
@sgratzl sgratzl self-assigned this Apr 22, 2020
@sgratzl
Copy link
Owner

sgratzl commented Apr 22, 2020

it seems to work as in https://codepen.io/sgratzl/pen/XWmpbZQ?editors=0010

but from a visualization point of view, I'm not sure whether it makes sense

image

@sgratzl sgratzl added this to New Issues in chartjs via automation Apr 22, 2020
@sgratzl sgratzl moved this from New Issues to In Progress in chartjs Apr 22, 2020
@gihco
Copy link
Author

gihco commented Apr 26, 2020

Many thanks for the quick and profound reply!

I have a use case for that (which makes sence I believe) which currently uses Datamaps (https://datamaps.github.io/) based on d3/svg. However, that lib is no longer maintained and I use chartjs anyway already in the same project.
Will no look into how far I get with animations, pan/zoom, performance, and HTML-based tooltips

@sgratzl sgratzl closed this as completed Apr 29, 2020
chartjs automation moved this from In Progress to Done Apr 29, 2020
@anupam42
Copy link

anupam42 commented May 14, 2020

Hi,
I am looking something like choropleth and bubbleMap in one
Because i will be having choropleth map as parent and how to map coordinate using bubbleMap
Ex: World map and show affected area with bubbleMap with coordinates

Thanks

@sgratzl
Copy link
Owner

sgratzl commented May 14, 2020

does the background map shows any data or just the outline of the world/countries for reference?

@anupam42
Copy link

Background just the outline of world map for reference and inside that i want to show coordinates for particular countries.
For Example i have attached image.

Thanks
Screenshot 2020-05-14 at 1 04 16 PM

@sgratzl
Copy link
Owner

sgratzl commented May 14, 2020

sounds more like a regular bubbleMap where they outline has a background color.

similar to https://codepen.io/sgratzl/pen/vYNzOYr?editors=0010

@anupam42
Copy link

Its just bubbleMap can i do same with choropleth map ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
No open projects
chartjs
  
Done
Development

No branches or pull requests

3 participants