Step 1: Formula for resistance.
The resistance \( R \) of a conductor is given by the formula:
\[
R = \rho \frac{L}{A}
\]
where:
- \( R \) is the resistance,
- \( \rho \) is the resistivity of the material,
- \( L \) is the length of the conductor,
- \( A \) is the cross-sectional area of the conductor.
Step 2: Analyzing the options.
- The resistance depends on the length of the conductor, as seen in the formula.
- The resistance depends on the resistivity of the material, which is related to the density of the material.
- The resistance depends on the cross-sectional area of the conductor.
- The shape of the conductor does not affect the resistance, as long as the length and cross-sectional area remain the same.
Step 3: Conclusion.
Thus, the resistance of an electrical conductor does not depend on the shape of the conductor. Therefore, the correct answer is (D).