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

Time-series choropleth by combining GeoJSON with secondary data #313

Closed
brylie opened this issue Dec 14, 2018 · 6 comments
Closed

Time-series choropleth by combining GeoJSON with secondary data #313

brylie opened this issue Dec 14, 2018 · 6 comments
Labels
feature A new feature roadmap item Item that's on our current roadmap scope: large

Comments

@brylie
Copy link

brylie commented Dec 14, 2018

We have timeseries data containing a column for country name. We also have a GeoJSON of world countries. However, when creating a polygon layer for the GeoJSON file, it does not allow us to color the countries based on data in a second data set.

flameshot-2018-12-14t16 24 04

I would like to create a choropleth map by providing a GeoJSON file for geometry and then styling the GeoJSON polygons based on fields in a second data 'layer'. This could additionally allow the secondary data set to be time filtered, so we could see change over time:

peek 2018-12-14 16-27

Describe alternatives you've considered
I have considered creating the interactive, time-series choropleth with Bokeh.

@heshan0131 heshan0131 added feature A new feature scope: large roadmap item Item that's on our current roadmap labels Dec 14, 2018
@macrigiuseppe
Copy link
Collaborator

Hello @brylie,
in order to perform reach the result you are looking for Kepler.gl should be able to join datasets and perform operations on the join result. Said feature is part of the out roadmap and we are going to work on it next year.

As workaround, I suggest to merge the two datasets into in order achieve the result you want.

@brylie
Copy link
Author

brylie commented Dec 14, 2018

Alright, I can give it a try. As the data are time-series measurements binned by country and date, do you recommend any resources or tutorials for joining such data? I will search around and ask on Stack Overflow.

@brylie
Copy link
Author

brylie commented Dec 14, 2018

Also, wouldn't a join creat a lot of duplicated geometry data? Geopolitics aside, the geometries do not change as often as the measurements, so might be efficient to reference only once. Relatedly, in our data some countries have no measurements in a given period or at all.

@heshan0131
Copy link
Contributor

@brylie you are right, you will have to create duplicate geometry while joining. The duplicated geometry will be filtered out once the time filter is enabled.

@heshan0131
Copy link
Contributor

Closing it for now, please re-open with more questions

@damnko
Copy link

damnko commented Nov 2, 2019

Hi, Is there any update on this feature? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature roadmap item Item that's on our current roadmap scope: large
Projects
None yet
Development

No branches or pull requests

4 participants