-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 map visualization #2317
Comments
Yes leafletjs is a good library, support many formats like GeoJson, and it's already use in Redash. |
I'm fiddling around with However, I do not have real-life use cases, so I'm not sure what to do from here.
|
The first use case we want to accomodate is to be able to visualize a dataset the looks like:
I.e. take value per country and visualize it on a map. Later we can expand this to be more granular (zoom in on specific continent, cities, etc). This is why I feel like Leaflet might not be the try solution as it starts with too much details. |
But it has different base maps we can use so maybe one of them is what we need? |
Yes. There are different base maps. The example polygons on the example page just happened to be district-size. Leaflet/geoJSON can have country level polygons too. There are several versions of country level polygons available, so I will try to find suitable one and come back with visual example. |
Any "catalog" of those base maps? |
@deecay FYI - I'm already on this issue, and will create PR tomorrow (I see you're also experimenting with it, so I decided to tell you) |
Oh, that's nice. Can't wait to see it! |
Please allow me to ask one question here. Now that this is merged, how do we go about adding geojson files? Due to highly individual needs and large file size, I think there should be some kind of way for admin to add their own geojson, and not to include all the country or city geojson in the bundle. |
The geojson files are not in the bundle -- they are loaded separately. It probably shouldn't be too complex to add a way to load custom files from a URL. |
@deecay if it is too complex, let us know! That probably just means we should document it better somewhere. |
@arikfr when you plan release this feature? Any plans for next RC or Release? |
Possible libraries:
The text was updated successfully, but these errors were encountered: