Create a Linear Scale with D3

Create a Linear Scale with D3
0

#1

Tell us what’s happening:
I am having trouble with this " The output variable should call scale with an argument of 50. "

Your code so far


<body>
  <script>
    // Add your code below this line
    
    const scale = d3.scaleLinear // Create the scale here
    const output = scale(50); // Call the scale with an argument here
    
    // Add your code above this line
    
    d3.select("body")
      .append("h2")
      .text(output);
  
  </script>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:
https://learn.freecodecamp.org/data-visualization/data-visualization-with-d3/create-a-linear-scale-with-d3


#2

scaleLinear is a method and to call it you must put () after it.