Heavy quarks (charm and beauty) are produced in hard-scattering processes and the study of their production in proton--proton (pp) collisions is an important test for calculations based on perturbative Quantum Chromodynamics (pQCD). Heavy-flavor production as a function of charged-particle multiplicity provides insight into the processes occurring at the partonic level and the interplay between the hard and soft particle production mechanisms in pp collisions.
In this contribution, measurements of open heavy-flavor production as a function of multiplicity, via the study of the $\mathrm{D}$-meson self-normalized yields in pp collisions at the center-of-mass energy of $\sqrt{s} = 13$ TeV is presented. The $\mathrm{D}$-meson self-normalized yield is found to increase stronger than linearly with increasing charged-particle multiplicity. The measurements are compared to theoretical model calculations, and with the results at $\sqrt{s} = 7$ TeV.