#garment-disasters-timeline
A simple web-based visualization of garment factory disasters in Bangladesh, the initial version of which was created in the wake of the Rana Plaza disaster. See it at http://clothing.norainnosun.de/.
##Setup After cloning, you need to run the following two commands on the repository:
git submodule init
git submodule update
Then serve index.html with a web server of your choice.
##Data A couple of reports that deal with the history of incidents and their causes are:
Hazardous workplaces: Making the Bangladesh Garment industry safe
Fair Wear Foundation Background Study BANGLADESH, Fair Wear Foundation, 2006
Other sources are contained in the data. Many of the geographic coordinates in the data are rough and when multiple entries existed for an area or city without exact locations, they were moved around so that multiple entries could be seen on the map. There is a project going on to map Bangladesh's garment factories (see below) as well as pool and organize data on the factories more generally; through this we hope to obtain better coordinates.
##How it works The visualization grabs its data from a CartoDB (PostgreSQL) database using their JavaScript API.
Using Leaflet, vector graphics layers based on the data from each year are displayed according to a jQueryUI slider position.
The stacked bar chart uses d3.js. We adapted code placed online by Ben Christensen, which was more than what we needed. You can track the changes via the git (Gist) sub-module.
##Do something Improvements to the code and the data are welcome. Concerning the data, I am trying to reconcile our data with this one, based on data from the ILRF. That's the kind of one-evening project where a second pair of eyes would be useful.
There are/were bigger projects dealing with documenting the garment industry:
- The first School of Data Data Expedition on the topic resulted in some nice work mapping global supply chains.
- The second School of Data Data Expedition on the topic (results here) included pooling together existing data and geocoding factory locations. The results in the form of a large data set can be found on datahub, and a summary of what was done and what is left to do can be found on this Trello board. Help is needed to finish things off, and find a way to keep the dataset up to date.
- Free2Work is trying to show you the entire supply chain behind every barcode. It is a project supported by ILRF. Their app allows you to contribute information on products.