We analyze an epitaxially grown heterostructure composed of InGaN nanodisks inserted in GaN nanowires in order to relate indium concentration to the electronic properties. This study was achieved with spatially resolved low-loss electron energy-loss spectroscopy using monochromated electrons to probe optical excitations - plasmons - at nanometer scale. Our findings show that each nanowire has its own indium fluctuation and therefore its own average composition. Due to this indium distribution, a scatter is obtained in plasmon energies, and therefore in the optical dielectric function, of the nanowire ensemble. We suppose that these inhomogeneous electronic properties significantly alter band-to-band transitions and consequently induce emission broadening. In addition, the observation of tailing indium composition into the GaN barrier suggests a graded well-barrier interface leading to further inhomogeneous broadening of the electro-optical properties. An improvement in the indium incorporation during growth is therefore needed to narrow the emission linewidth of the presently studied heterostructures.