The information that may be shown in an ecological pyramid is the relative amount of energy.
A food pyramid is wider at the bottom, at lower trophic levels, showing that there is a higher amount of energy available to the producers, and this energy reduces as we move up the trophic levels of the ecosystem.