Skip to content

DIY Map Choropleth Plotter

answerquest edited this page Jul 21, 2017 · 8 revisions

Aim

A web page / app where people can upload map data and tabular data and link the two to plot a numberical column from the table on the map as choropleth.

How it helps: It's not easy to get data into a shapefile. Better to keep them separate and use a script to load and plot the data onto the map.

Concept Design

Design for DIY choropleth plotter
click for seeing full image.

More ideas

  • If the map data is markers and not shapes, then figure out ways to plot that too. Then even map data can be CSV with lat/long columns.

Evolution

http://nikhilvj.cu.cc/files/wise-map.html
A Choropleth map script made for a project by CEE by Nikhil that handles multiple sets of data and plots the selected one to a map of Pune's wards. Uses papa.parse to import CSV and array filter function to match shape with corresponding csv row. .filter( function(data){return <shape.param> == <csv.param>; });

https://bnamita.github.io/Village_Mapping_v2/ , repo: https://github.com/bnamita/Village_Mapping_v2
Mapping village census data (by district) for Maharashtra
By Namita B. With map data pre-determined, either census or custom CSV data can be plotted. And several features like search-as-you-type, labels at high zoom, saving map snapshot etc implemented.

What we want to do another iteration of this, where even map data can be made user-loaded. Then the application can work for any place and any data, plus the programmers are set free from the burdens (and potential licensing complications) of having to host any of the data.

Links

  • http://mapshaper.org/ : Mapshaper. Users can be asked to load their map there for previewing, figuring out the metadata, and also for simplifying the map which considerably reduces the size while keeping shapes intact.
Clone this wiki locally