Visualizing Ecoinvent 2.2

Ecoinvent 2.2 is a large and complex system (and Ecoinvent 3 will certainly be larger and more complex). The technosphere matrix of Ecoinvent has about 4000 activities, and 40000 links between those activities. The biosphere matrix has another 60000 links from activities to biosphere flows, but it is harder to visualize, so we ignore it for now.

I used Brightway2 to import Ecoinvent, and export it as a GEXF file, the file format used by Gephi. This is pretty easy, especially if you are comfortable in Python:

from bw2data.io import EcospoldImporter
from bw2data.io.export_gexf import DatabaseToGEXF
EcospoldImporter().importer("path/to/ecoinvent/xml/files", "ecoinvent 2.2")
DatabaseToGEXF("ecoinvent 2.2").export()

After messing around a bit in Gephi, and then manually labelling some nodes in Inkscape, the result is almost beautiful:

You can also download a larger version, a pdf version, or a desktop background.