<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Emilien Marotta</title>
    <description>The latest articles on DEV Community by Emilien Marotta (@emilienmarotta).</description>
    <link>https://dev.to/emilienmarotta</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4249782%2Fbdad9329-b42b-4366-ac71-e8985c4b0cd4.png</url>
      <title>DEV Community: Emilien Marotta</title>
      <link>https://dev.to/emilienmarotta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emilienmarotta"/>
    <language>en</language>
    <item>
      <title>How to compare more than 5 Google Trends keywords on one scale</title>
      <dc:creator>Emilien Marotta</dc:creator>
      <pubDate>Tue, 17 Nov 2026 12:51:18 +0000</pubDate>
      <link>https://dev.to/emilienmarotta/how-to-compare-more-than-5-google-trends-keywords-on-one-scale-13om</link>
      <guid>https://dev.to/emilienmarotta/how-to-compare-more-than-5-google-trends-keywords-on-one-scale-13om</guid>
      <description>&lt;p&gt;I wanted to rank a list of project-management tools by how much people search for them. Notion, Jira, Asana, Trello, ClickUp, Basecamp, Wrike, Airtable. Simple question, and Google Trends is the obvious place to ask it.&lt;/p&gt;

&lt;p&gt;With 8 tools, the website can just about do it. With a longer list, or from code, it turned out to be less simple than I thought.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two problems with Google Trends data
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. One request holds 5 terms at most.&lt;/strong&gt; The API behind Google Trends (the &lt;code&gt;explore&lt;/code&gt; endpoint that libraries like pytrends call) takes up to 5 keywords per request. I tried 6: it answers HTTP 400. (The Google Trends website now lets you compare up to 8 groups of terms at once; the API and Classic explore stay at 5. Either way, past that limit, separate comparisons don't share a scale.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Every request has its own 0 to 100 scale.&lt;/strong&gt; Google doesn't give you search counts. It gives you a score where 100 is the highest point &lt;em&gt;of that request&lt;/em&gt;. So if you compare Notion, Jira, Asana, Trello and ClickUp in one request, and Basecamp, Wrike and Airtable in another, a 50 in the first one and a 50 in the second one don't mean the same thing. You can't just paste the two tables together.&lt;/p&gt;

&lt;p&gt;That's the part that bit me: two exports that look perfectly fine, and are not comparable at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix: one anchor keyword in every request
&lt;/h2&gt;

&lt;p&gt;Put the &lt;strong&gt;same keyword in every request&lt;/strong&gt;. I'll call it the anchor.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Request 1: notion, jira, asana, trello, clickup&lt;/li&gt;
&lt;li&gt;Request 2: notion, basecamp, wrike, airtable&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notion is in both. If it averages 64 in request 1 and 32 in request 2, everything in request 2 is on a scale twice as small. Multiply request 2 by 2, and every keyword is now on the same scale.&lt;/p&gt;

&lt;p&gt;The core of it is a few lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;rescale_batches&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;batches&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;anchor&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;batches&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;anchor&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;scaled&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;batch&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;batches&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;factor&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;reference&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nf"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;batch&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;anchor&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;keyword&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;series&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;batch&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;scaled&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setdefault&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;keyword&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;factor&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;series&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="c1"&gt;# then renormalize so the single highest point of all keywords is 100&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;scaled&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With 4 new keywords per request plus the anchor, 100 keywords take 25 requests.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I got
&lt;/h2&gt;

&lt;p&gt;Here's the real output for the 8 tools, US, past 12 months (run on November 17, 2026):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rank  keyword    average  share %
   1  notion       64.23    37.13
   2  jira         36.11    20.88
   3  asana        19.57    11.31
   4  trello       16.98     9.82
   5  airtable     12.00     6.94
   6  basecamp     11.15     6.45
   7  clickup      10.45     6.04
   8  wrike         2.49     1.44
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two comparisons, one scale. Notion gets more than a third of the interest of the whole group; Wrike is a rounding error next to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three things that will bite you
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Pick a mid-sized anchor.&lt;/strong&gt; Google returns whole numbers. Next to a huge anchor, a small keyword gets rounded to 0 in its request, and no math can bring it back. If you anchor on "ChatGPT" and include a niche tool, the niche tool will just show zeros.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A zero is not "no interest".&lt;/strong&gt; It often means "too small to measure next to the others". If you average those zeros into your analysis, you'll conclude a keyword is dead when it's simply small. My code flags those keywords as not measurable instead of reporting 0.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You will get rate-limited.&lt;/strong&gt; These endpoints return HTTP 429 if you push too hard. In my tests, once an IP was blocked it stayed blocked for close to an hour. Space your requests, retry once, and don't treat an empty answer as data.&lt;/p&gt;

&lt;h2&gt;
  
  
  The code
&lt;/h2&gt;

&lt;p&gt;Everything above is in a small open-source library, MIT licensed, plain Python:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/zerofail-dev/google-trends-compare" rel="noopener noreferrer"&gt;https://github.com/zerofail-dev/google-trends-compare&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 -m venv .venv
.venv/bin/pip install git+https://github.com/zerofail-dev/google-trends-compare
.venv/bin/python -m google_trends_compare notion jira asana trello clickup basecamp wrike airtable --geo US
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The rescaling part works on series from any source, so if you already pull data with pytrends or from CSV exports, you can use just that function.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you need more than that
&lt;/h2&gt;

&lt;p&gt;Disclosure: I also built a hosted version of this as an Apify Actor. It goes further than the library: it picks the anchor automatically and chains through intermediate anchors so small keywords don't get crushed, handles up to 100 keywords per run, adds interest by region and related queries, and has a daily "only what changed" mode you can plug into n8n, Make, Clay or an AI agent.&lt;/p&gt;

&lt;p&gt;As a sanity check, I ran the same tools through both on the same morning. The averages came out within a fraction of a point of each other (Notion 64.71 vs 64.23, Jira 36.50 vs 36.11, Asana 19.73 vs 19.57).&lt;/p&gt;

&lt;p&gt;You don't need it: the library above works on its own. But if you'd rather not deal with anchors and 429s, it's here: &lt;a href="https://apify.com/zerofail/google-trends-scraper" rel="noopener noreferrer"&gt;https://apify.com/zerofail/google-trends-scraper&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you've solved this differently, I'd like to hear how. I'm sure there are tricks I haven't run into yet.&lt;/p&gt;

</description>
      <category>python</category>
      <category>seo</category>
      <category>datascience</category>
      <category>webscraping</category>
    </item>
  </channel>
</rss>
