<p dir="auto">Challenges 4, 5, etc., not logged in.</p>
<p dir="auto">User Agent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"</p>
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<ol dir="auto">
<li>Pass challenge 4, Work with Data in D3.<br>
My passing code was:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;body&gt;
  &lt;script&gt;
    const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];
    
    // Add your code below this line
    
    d3.select('body').selectAll('h2')
      .data(dataset)
      .enter()
      .append('h2')
      .text('New Title');
    
    // Add your code above this line
  &lt;/script&gt;
&lt;/body&gt;"><pre class="notranslate"><code class="notranslate">&lt;body&gt;
  &lt;script&gt;
    const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];
    
    // Add your code below this line
    
    d3.select('body').selectAll('h2')
      .data(dataset)
      .enter()
      .append('h2')
      .text('New Title');
    
    // Add your code above this line
  &lt;/script&gt;
&lt;/body&gt;
</code></pre></div>
<ol start="2" dir="auto">
<li>Do not go on to next challenge.</li>
<li>Resubmit and get this error:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// running test
&quot;Identifier 'dataset' has already been declared&quot;
&quot;Identifier 'dataset' has already been declared&quot;
&quot;Identifier 'dataset' has already been declared&quot;
&quot;Identifier 'dataset' has already been declared&quot;
// finished test"><pre class="notranslate"><code class="notranslate">// running test
"Identifier 'dataset' has already been declared"
"Identifier 'dataset' has already been declared"
"Identifier 'dataset' has already been declared"
"Identifier 'dataset' has already been declared"
// finished test
</code></pre></div>
<p dir="auto">You can also get this error by:</p>
<ol dir="auto">
<li>Completing and passing challenge 4.</li>
<li>Moving on to challenge 5.</li>
<li>Submitting challenge 5, even with correct code.</li>
<li>Get the error, and your code will not show on phone.</li>
<li>Refresh page, it will pass.</li>
</ol>
<p dir="auto">Challenge <a href="http://beta.freecodecamp.com/en/challenges/data-visualization-with-d3/work-with-dynamic-data-in-d3" rel="nofollow">work-with-dynamic-data-in-d3</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36</code>.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="

&lt;body&gt;
  &lt;script&gt;
    const dataset = [12, 31, 22, 17, 25, 18, 29, 14, 9];
    
    d3.select(&quot;body&quot;).selectAll(&quot;h2&quot;)
      .data(dataset)
      .enter()
      .append(&quot;h2&quot;)      
      .text((d) =&gt; d + &quot; USD&quot;);
      
      // Add your code above this line
  &lt;/script&gt;
&lt;/body&gt;
"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span>
  <span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
    <span class="pl-k">const</span> <span class="pl-s1">dataset</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">12</span><span class="pl-kos">,</span> <span class="pl-c1">31</span><span class="pl-kos">,</span> <span class="pl-c1">22</span><span class="pl-kos">,</span> <span class="pl-c1">17</span><span class="pl-kos">,</span> <span class="pl-c1">25</span><span class="pl-kos">,</span> <span class="pl-c1">18</span><span class="pl-kos">,</span> <span class="pl-c1">29</span><span class="pl-kos">,</span> <span class="pl-c1">14</span><span class="pl-kos">,</span> <span class="pl-c1">9</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
    
    <span class="pl-s1">d3</span><span class="pl-kos">.</span><span class="pl-en">select</span><span class="pl-kos">(</span><span class="pl-s">"body"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">selectAll</span><span class="pl-kos">(</span><span class="pl-s">"h2"</span><span class="pl-kos">)</span>
      <span class="pl-kos">.</span><span class="pl-en">data</span><span class="pl-kos">(</span><span class="pl-s1">dataset</span><span class="pl-kos">)</span>
      <span class="pl-kos">.</span><span class="pl-en">enter</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
      <span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s">"h2"</span><span class="pl-kos">)</span>      
      <span class="pl-kos">.</span><span class="pl-en">text</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">d</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">d</span> <span class="pl-c1">+</span> <span class="pl-s">" USD"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
      
      <span class="pl-c">// Add your code above this line</span>
  <span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;/</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">This would be the right solution, but it says <code class="notranslate">dataset</code> is already declared. The issue is resolved by renaming the variable.</p>