TRI Webtoy is an embedded json database application that uses optimized data for high performance. Using the U.S. EPA's database of toxic chemicals released to the environment, this app allows the public to quickly and easily explore quantities of toxic chemicals that U.S. Companies release into communities. U.S. Companies are required by law to report this information yearly to the U.S Environmental Protection Agency.

Comments about TRI Webtoy can be sent to the author: Will Smith (


Source: U.S. EPA TRI (Toxics Release Inventory) 2011 Basic data released November 2012.

For better performance, Webtoy's data has been optimzed and stored within the app's client-side java script using json's and requires no server-side component to run. To shorten startup time, care was taken to optimize the data for small storage. For example, the database in flat file format is 14M and once optimized just 3.4M.

This design model is useful for small database apps that must be low cost to build, high performance, and require no server-side overhead.


This is where you can set conditions to subset the data as well as select options such as for table decimal places, etc. When done click any report Tab to see the result. All reports will be created under this data constraint until the settings are changed or "Cleared" from the Settings Tab.

Drill Downs

Click any row in a report to drill down. This row will now become a constraint and all other reports will use this constraint. For example, click the Chemical Tab to display the Chemical Report. Then click the row for "1,1,1-TRICHLOROETHANE." Now all subsequent reports will use the condition chemical=1,1,1-TRICHLOROETHANE. This is a very easy way to do multiple drill downs. The drill downs are displayed above each table.

Table decimal places:   Max Map markers:
Restrict facilities to a circular buffer:
    Radius:   Address    Lat: Lng: