in Education by

What is the syntax to draw a line in D3 - 

1 Answer

0 votes
by

What is the syntax to draw a line in D3?

Correct answer:- svg.append("line").attr("x1", 0).attr("y1", 200).attr("x2", 100).attr("y2", 100);

Related questions

0 votes
    var dataset = [ 5, 10, 15, 20, 25 ]; What will be output of d3.extent(data)? -...
asked Mar 7, 2023 in Technology by JackTerrance
0 votes
    Which is not a slider available in d3.js?...
asked Mar 7, 2023 in Technology by JackTerrance
0 votes
    D3 is developed by ________ ?...
asked Mar 4, 2023 in Technology by JackTerrance
0 votes
    _______is the syntax to read JSON data?...
asked Mar 4, 2023 in Technology by JackTerrance
0 votes
    Which of the following attribute is being used to put the pen down at (10,25) in SVG?...
asked Mar 7, 2023 in Technology by JackTerrance
0 votes
    What does SVG stand for?...
asked Mar 4, 2023 in Technology by JackTerrance
0 votes
    Q2:- Write the syntax of the command used to draw a line on screen. Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
    How can you draw straight horizontal and vertical lines with the help of the line tool ? Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    D3 is used to create ________?...
asked Mar 4, 2023 in Education by JackTerrance
0 votes
    What are the prerequisites to learn D3?...
asked Mar 4, 2023 in Education by JackTerrance
0 votes
    What is the full form on D3?...
asked Mar 4, 2023 in Technology by JackTerrance
0 votes
    Cell D3 contains the formula = B3+C 3 and this formula is copied to cell E4 what will be the copied formula in cell E4? Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Mention what is the use of “Enter” and “Exit” selection in d3.js?...
asked Nov 14, 2020 in Technology by JackTerrance
0 votes
    Mention what does the command d3.csv.parseRows(string[,accessor]) ?...
asked Nov 14, 2020 in Technology by JackTerrance
0 votes
    Mention the command to join the specified array of data in d3.js?...
asked Nov 14, 2020 in Technology by JackTerrance
...