<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged logarithmic</title>
<link>https://www.question2answer.org/qa/tag/logarithmic</link>
<description>Powered by Question2Answer</description>
<item>
<title>Logarithmic Tag Cloud Plugin, Anyone?</title>
<link>https://www.question2answer.org/qa/8116/logarithmic-tag-cloud-plugin-anyone</link>
<description>

&lt;p&gt;
	Not to flood the board with these threads, but surely this is useful.&amp;nbsp; Tag clouds should be sized logarithmically.&amp;nbsp; They should not be sized linearly.&amp;nbsp; To quote the blogger whose code I stole:&lt;/p&gt;


&lt;blockquote&gt;
	

&lt;p&gt;
		The reason why this is a poor choice to create a tag cloud is that tag frequency tends to not to be evenly distributed. Instead a few tags will usually have a very high frequency of use, and then it drops off rapidly. A tag cloud created using a tag frequency directly to determine font size will have a few tags that are very large, many tags that are very small, and almost nothing in between.&lt;/p&gt;
	

&lt;p&gt;
		&lt;a href=&quot;http://rhodopsin.blogspot.com/2008/05/php-tag-cloud.html&quot; rel=&quot;nofollow&quot;&gt;http://rhodopsin.blogspot.com/2008/05/php-tag-cloud.html&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;


&lt;p&gt;
	The difference can be seen between the latest addition to my q2a site (yes, a logarithmic tag cloud plugin) and the original (linear) q2a tag cloud plugin:&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=11066171387431656111&quot;&gt;&lt;/p&gt;


&lt;p&gt;
	The top cloud is linear, the bottom is logarithmic.&amp;nbsp; The bottom also is specifying a minimum font size, which helps keep the text readable.&amp;nbsp; This is what this new plugin does.&amp;nbsp; Oh, and it also allows you to sort the tags alphabetically (on by default):&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=13025377414708294763&quot; style=&quot;width: 191px; height: 170px;&quot;&gt;&lt;/p&gt;


&lt;p&gt;
	Well, you get the idea.&amp;nbsp; With lots of tags, the lower cloud looks a lot nicer, imo.&lt;/p&gt;


&lt;p&gt;
	Source is here:&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;https://github.com/NoahY/q2a-log-tags&quot; rel=&quot;nofollow&quot;&gt;https://github.com/NoahY/q2a-log-tags&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	EDIT: And here's the new admin interface:&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=11854888420436517624&quot;&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/8116/logarithmic-tag-cloud-plugin-anyone</guid>
<pubDate>Wed, 10 Aug 2011 07:25:26 +0000</pubDate>
</item>
</channel>
</rss>