Set a Domain and a Range on a Scale1

Tell us what’s happening:

Can someone tell how can I do it?

Your code so far

    // Add your code below this line
    const scale = d3.scaleLinear();
    // Add your code above this line
    const output = scale(480);"body")

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge: