Jordan Industrial Observatory
Strengthening Industrial Intelligence for enhanced evidence-based policymaking

1. Charts

Most charts are made using the open source Apexcharts javascript library. Some charts use the R-based ggplot libarary. A number of folders with <Wordpress root folder>/jordan/prototype/ folder (energy, indsurvey, production, sdg, trade and youth) display charts.

One particular folder, <Wordpress root folder>/jordan/prototype/chart/apexcharts, has common javascript code to handle all Apexchart charts on the Observatory (Apexchart charts are used extensively for production and trade charts; note that the library itself is stored as <Wordpress root folder>/lib/apexcharts.min.js). One or more of these four files (stackedarea.js, line.js, bar.js and apex.js) is used by all Apexcharts based charts used in the Observatory.

Leave a Comment

Your email address will not be published.