The filament of an electric bulb is of tungsten because
-
its resistance is negligible.
-
it is cheaper.
-
its melting point is high.
-
filament is easily made.
Incandescent light bulbs use heat generated by the resistance of the filament to create light. to get white light you need the filament to reach 2700-3300 K to give off white yellow light.
The reason tungsten is used is because it has the highest melting temperature of any element at 3600 K.
To generate a lot of heat you need a big resistance. Resistance(R) is dependent on resistivity ($\rho$) but also on the length (l) of the wire and the width (w).
R $=\dfrac{\rho \times l}{A} $Having a big resistivity helps to create a big resistance but since you can change the thickness and length of the filament in light bulb (the filament is looped to increase the length) you can control the resistance.