Code Monkey home page Code Monkey logo

dataviz-population-change's People

Contributors

curran avatar edouard-legoupil avatar luissevillano avatar matthewsmawfield avatar mayeulk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dataviz-population-change's Issues

Robinson map projection

Would you preffer to use the Robinson map projection instead the Equirectangular one?
rbonson_projection_on_dataviz-population-change

It would involve loading the packages d3-geo and d3-geo-projection.
Best regards!

Disputed International borders

I know you used the historical county polygons created by CShapes but could we add a lines layer so we can show the official UN disputed boundaries as we did for the popstat one?

Maintain the topology of polygons (to allow nice zooming)

When zooming at https://github.com/unhcr/dataviz/blob/master/js/worldtopo.json one can see that the topology is not maintained.

unhcr_dataviz_topology_issues
Ways to simplify polygons while maintaining the topology are discussed here:
https://gis.stackexchange.com/questions/185040/simplify-geometries-but-keep-them-contiguous
https://gis.stackexchange.com/questions/178/simplifying-adjacent-polygons/
https://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyPreserveTopology
https://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyWithTopologyExt

This is in view of another possible improvement, namely to render zooming possible (in a visually appealing way)

Allow zooming and panning

Zooming and panning are very common functionalities in webgis, even for thematic world maps. This would allow to see better the data in small countries, or to have a regional focus. It is also interesting for mobile users (smartphones with small displays).
It would require to fix this:
#8

Fix Ussr/RUS for 1991

Currently the json creates a polygon with a hole for the Baltic countries in 1991. In fact two polygons are stacked, one being incomplete.
See screenshots:
borders_ussr_russia_3
borders_ussr_russia_4

This should be as follows (taken from my peaceprism repository):
borders_ussr_russia_1
borders_ussr_russia_2

This issue would be fixed by using the file in this commit:
mayeulk@9159f20

The map should use proportional symbol - not choropleth

Hi For the map -- using an absolute measurement in a choropleth is a semiologic error - (unless it would be a choropleth with polygons of a similar size) -

Either we convert the value to be displayed to a % of change in comparison of previous year - the it's a ratio and we can keep a choropleth -

or better we keep absolute number of persons increase/decrease and use proportional symbols with a color code to encode the relative percentage of the increase in comparison with the existing population

Add licence

Searching for the words 'licence' and 'license' on this repository, one can only find the licence of some css or js libraries. If this is a strict copyrighted code, please state it so. Otherwise, please provide a licence in the readme file.

Release

There are a few minor issues blocking a proper release of this:

  • Bug with increase/decrease text on year slider event #28 (Curran)
  • Disputed International borders #50 (Matthew)
  • Finishing Touches for Data Portal Embed #69

Resize Map on Mobile

One issue is that the map gets cut off on the left and right. Let's try using the SVG viewbox attribute to have the SVG fill the available width.

Create Listing Page

The landing page should be a listing of UNHCR data visualization products, with links to each.

The visualization currently at the root directory can be moved to a subdirectory and linked from the index.

Update Data

The data can be updated here, so it goes to 2016.

Provide a tutorial to replicate the viz with a more detailed dataset

Some operations could be interested to replicate the same dataset visualization with more details (extracting for instance from their registration data):

  • Adding Level1 admin countries
  • showing details by month
  • showing additional details (family size, occupation, education, sp.needs, age&sex breakdown...)

Building on this viz, it could be interesting to have a replicable example with some documentation.

See for instance: https://zanmat.github.io/IDPDisplacement/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.