May 2025
DATA VISUALIZATION
Anna University
1 question papers available. Select an examination session to view its question paper.
DATA VISUALIZATION
Based on available extracted papers. Question groups and frequency are provisional, not official syllabus weightage or examination predictions.
List the basic datatypes in JavaScript. 2 1 1
0 eligible source papersHow can you apply a specific style to all <p> tags inside a <div> 2 1 3 using C S S ?
0 eligible source papersWrite a JavaScript snippet that changes the background color of a 2 3 web page when a user clicks a button.
0 eligible source papersExplain domain and range in scale function with example. 2 2 2
0 eligible source papersDefine parsing and explain its role in handling data. 2 3 2
0 eligible source papersCompare space-filling and non-space-filling visualizations for 2 3 4 trees.
0 eligible source papersWhat role does .enter() play in OS's data binding process? Explain 2 4 3 with example.
0 eligible source papersUsing DS.js, create an S V G with a single rectangle of width 100 2 4 3 and height 60. Position it at coordinates (100, 50).
0 eligible source papersWhy is interactivity import:ant in data visualizations? Mention two 2 5 2 types of interactions that improve user experience.
0 eligible source papersState any two real-worid scenarios where a scatter plot is 2 5 4 preferred over a bar chart for visualization.
0 eligible source papers(a) (i) Explain C S S selectors in detail and show the different ways 8+5 1 3 of selecting elements with appropriate example. (ii) Write a JavaScript code snippet to change an image when a button is clicked.
0 eligible source papers(b) Read the time series data from a .csv file containing monthly 13 1 3 revenue from car sales and write JavaScript code to visualize the values in time series scale.
0 eligible source papers(a) Describe different types of visualizations used for Trees and 13 2 3 Graphs. Illustrate their structure and use cases with appropriate examples.
0 eligible source papers(b) Write a program to create a force-directed grapli with draggable 13 2 3 nodes.
0 eligible source papers(a) Explain the different types of text-based data representation 13 3 3 formats. Describe how each format is used in real-wodd applications and when it is most appropriate to use each one.
0 eligible source papersb) (i) Write a code snippet to visualize the x-axis of a chart and 5+8 3 3 move it to correct position. (ii) Oompare the different ways of including styles and script in the html file.
0 eligible source papers(a) (i) Write a JavaScript program using D3.js to create a bar chart 8+5 4 4 from an initial dataset. Modify the code to dynamically add a new bar to the chart each time the user clicks on the page. (ii) Evaluate how D3's transition functions can be applied to animate the addition of new bars in a bar chart.
0 eligible source papers(b) Assume you have two files: 13 4 4 • India.json • Population.CSV ( Write a D3 script to create a Choropleth to visualize the state- wise population.
0 eligible source papers(a) Explain the process to create an interactive scatterplot with the 13 5 3 following features: • Highlight a data point on hover by changing its color and size • Tooltip display on hover
0 eligible source papers(b) Write a javascript code to display a barchart with text labels from 13 5 3 an array of numbers. Include a button to sort the chart on click.
0 eligible source papers(i) Given the following sample dataset containing issues such as 10+5 inconsistent scales and missing values, identify the most suitable D3 visualization to represent the data effectively. Justify your choice and write the code to implement the visualization. Country Population GDP [billion USD] Region fniillions") liirlia 1390 287.'5 Aiiia USA 331 21430 North America Cliina 1441 14300 Asia Germany 83 3845 Europe Brazil 213 1445 South America Unknown . 900 Unknown Nigeria 206 - Africa Australia 26 1390 Oceania (ii) Discuss the different types of shapes that can be drawn with S V G .
0 eligible source papersHistorical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.