The talk will introduce tropical geometry as a tool to study generating functions of counts of curves. Such generating functions appear for example in the context of mirror symmetry. In some cases, they can be related to Feynman integrals, allowing to study quasimodularity properties