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

Map choropleth viewer #36

Open
trickvi opened this issue Sep 12, 2013 · 1 comment
Open

Map choropleth viewer #36

trickvi opened this issue Sep 12, 2013 · 1 comment

Comments

@trickvi
Copy link
Contributor

trickvi commented Sep 12, 2013

Moved from openspending/openspending#509

For a dataset with a geographic dimension, the user should be able to aggregate values over that dimension and then use the aggregated data to display a choropleth map.

The hard aspect of this is having the "right" map, i.e. one that captures all the values in the dataset but does not extend much beyond it. Even worse, the identifiers used in the map for regions must also be found in the data, or an alignment must be made at run-time.

In an ideal case, this would also work for subsets of the data and display an appropriate map to match each query's result space.

Take a look at original issue for comments

@mihi-tr
Copy link
Contributor

mihi-tr commented Sep 23, 2014

@tryggvib just ran into this - thought the jquery.choropleth plugin would do this. Doesn't :/

I do prefer to link to a topojson file (data-mapurl="http://my.topojson") and mention an id column (e.q. wardid).

I'd build this on top of leaflet (maybe also allow to specify a tile-server url) and build coloured polygons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants