Computational Ecology and Software (Sep 2024)

Dynamically insert the forest plot into a web page: The full Javascript codes

  • WenJun Zhang

Journal volume & issue
Vol. 14, no. 3
pp. 168 – 173

Abstract

Read online

In present study a method that enables users to dynamically insert the forest plot into a web page was presented. In this method, I created a Javascript module for generating and inserting a HTML table, including an entry function and two sub-functions. When the user applies it, copy these functions together with the table mark into the web page location where the forest plot is to be inserted. The web page will generate the forest plot by passing in parameters and calling the entry function in the user's own Javascript module. The full Javascript codes were given for free uses of web developers.

Keywords