Skip to content

hxl-team/HXL-Chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HXL Chart API

Generates a JS script that shows a spark line chart, using Highcharts JS.

Quickstart

Call the script with an emergency argument, providing the URI of the emergency (required). The script a JS script that fills a DIV (id="container") on the page embedding this script with a Highchart. The chart displays the person counts for all refugee populations related to that emergency over time.

If you don't know the URI for your emergency, please consult this list of emergencies we currently have in HXL.

Sample Queries

We have an instance of this script running at http://hxl.humanitarianresponse.info/api/mali-chart.htm: The page shows a chart with the refugee counts for the Mali crisis (based on our test data) over time.

About

Publishing HXL refugee data in HighCharts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published