Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
 
 
lib
 
 
 
 
src
 
 
 
 
 
 
 
 

README.md

A OO JS library to create a Choropleth on a map using GeoJson Data!

MERGING CSV GEOJSON DATA

The mergecsvgeo.js file allows you to merge a CSV and GeoJson file together by passing in two paths and a key to link the two files together.

The library using two Async calls using D3.js and Jquery. A JQuery deferred promise is used to trigger a callback so the merged data can be passed back to the function call.

Pivitol Labs Jasmine BDD is used to test the processData function using edge cases.

MAPPING THE DATA INTO A CHOROPLETH.

Map.js allows you to create a map by passing in the data into the constructor. You can then addInfo box using a callback containing HTML code and addLegend with an array of numbers.

See Control.js for implementation example and index for live example.

Visit http://vishal81.com/choropleth/map/ for live demo!

About

A JS library to create a choropleth on a map using GeoJson Data!

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.