D3.js(Engineering > Computer Science And Engineering ) Questions and Answers

Question 1. Explain about d3.js Scales?
  1.    Quantitative Scales
  2.    Ordinal Scales
  3.    Linear Scales
  4.    All of these
Explanation:-
Answer: Option D. -> All of these





Question 2. What does path generators include in it?
  1.    svg.line- Make a new line generator
  2.    svg.line.radial- Make a new radial line generator
  3.    svg.area
  4.    All of the mentioned
Explanation:-
Answer: Option D. -> All of the mentioned





Question 3. What are the data binding methods?
  1.    data() function
  2.    enter() function
  3.    exit() function
  4.    All of these
Explanation:-
Answer: Option D. -> All of these





Question 4. What does D3.js mean?
  1.    It is a JavaScript framework to display D3 models
  2.    It is a JavaScript library for changing native objects to D3 objects
  3.    It is Node.js to parse a server's data to objects with D3 features
  4.    It is a JavaScript library for creating and manipulating documents based on data
Explanation:-
Answer: Option D. -> It is a JavaScript library for creating and manipulating documents based on data





Question 5. What are the selector methods in D3 JS?
  1.    select()
  2.    select All()
  3.    append()
  4.    html()
  5.    All of these
Explanation:-
Answer: Option E. -> All of these





Question 6. What is the slider available in d3.js?
  1.    Default slider
  2.    Slider with start value
  3.    Slider with slide event
  4.    All of the above
Explanation:-
Answer: Option D. -> All of the above





Question 7. Which of the following terms is correct about SVG?
  1.    it is a JSON object to show properties in math figures
  2.    it is a markup language for determining two-dimensional vector graphics
  3.    it is a JavaScript fabric method to show the charts, tables
  4.    it is a Scalable Vector Graphics in JSON and is crucial for graphics
Explanation:-
Answer: Option C. -> it is a JavaScript fabric method to show the charts, tables





Question 8. What are the key features Of D3.js?
  1.    Data Driven
  2.    DOM Manipulation
  3.    Interaction and animation
  4.    All
Explanation:-
Answer: Option D. -> All





Question 9. What are the uses of D3.js?
  1.    D3.js is small and open-source and written in JavaScript
  2.    D3.js is used for dynamic, interactive graphical presentation and data visualization frameworks
  3.    D3.js main focuses on binding data to DOM elements
  4.    All of the above mentioned
Explanation:-
Answer: Option D. -> All of the above mentioned





Question 10. In which of the following cases, D3.js is helpful?
  1.    viewing huge data reports of account detail, e-commerce budgeting, population
  2.    using D3 models on backgrounds of gaming applications
  3.    analyzing and representing a server data
  4.    None of the mentioned
Explanation:-
Answer: Option A. -> viewing huge data reports of account detail, e-commerce budgeting, population