Example clustering coefficient calculation for the shaded node i. Black edges are nodes connecting neighbors of i, and red edges are for unused possible edges. The clustering coefficient’s standard definition for a node i is the number of edges connecting neighbors of node i, divided by the total number of possible edges between neighbors of node i.
<p><a href="//commons.wikimedia.org/wiki/File:Clustering_coefficient_example.png" title="File:Clustering coefficient example.png">Clustering_coefficient_example</a>: Original uploader was <a href="https://en.wikipedia.org/wiki/User:Meekohi" class="extiw" title="en:User:Meekohi">Meekohi</a>
</p>
<ul><li>derivative work: <a href="//commons.wikimedia.org/wiki/User:Tsaitgaist" title="User:Tsaitgaist">Tsaitgaist</a></li></ul>
<a href="//commons.wikimedia.org/wiki/File:Clustering_coefficient_example.png" title="File:Clustering coefficient example.png">Clustering_coefficient_example</a>