Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.Create a web page that display a network visualizations using D3.js. The web page shall have an input box where user can enter a JSON

2.Create a web page that display a network visualizations using D3.js. The web page shall have an input box where user can enter a JSON file name. The web page shall read network data from the JSON file. You should use a local web server to test your program. Place the JSON files under your local web servers www folder. Do not embed nodes and links data in the code.

Your D3.js program shall implement a force layout. https://github.com/d3/d3-force

Here is an example. https://bl.ocks.org/mbostock/ad70335eeef6d167bc36fd3c04378048 Here is another example. http://bl.ocks.org/MoritzStefaner/1377729

The web page shall also include GUI components (such as slider bars or input boxes) to adjust parameters in the force layout algorithm, such as link distance, link strength, force strength, alpha, alphaDecay, etc. At least four parameters need to be adjustable. See this page for more details. https://github.com/d3/d3-force

Display the network in the main window. When a user moves the mouse cursor over a node, display the nodes name (or label), if there is one. This requirement is worth 5 points. Several sample data sets will be provided for testing. Your program must be able to handle these sample data sets. My TA will test your program with the sample data sets.

The sample network data sets are from this web site. http://www-personal.umich.edu/~mejnetdata/

You can test your program with other data sets from these web sites. http://www-personal.umich.edu/~mejnetdata/ American football (network) Dolphin social network (network) Les Miserables (network) Neural network of the nematode C. Elegans (network) Implement all the features in one HTML file. Including screenshots of the visualization of three different data sets one screenshot for one data set.

3. You can find examples of D3.js at the following web page and its sub- pages.

https://sites.google.com/site/gsudatavis/home/data-visualization- with-d3- js The sample data sets are stored in gml format, a common file format for storing network data. You need to convert a gml file to D3.js compatible JSON format. The following web page shows how to convert such files. https://sites.google.com/site/gsudatavis/home/data-visualization- with- image text in transcribedd3-js/how- to-convert- network-data- set-to- json-format

2. Create a web page that display a network visualizations using D3.js The web page shall have an input box where user can enter a JSON file name. The web page shall read network data from the JSON file . You should use a local web server to test your program. Place the JSON files under your local web server's www folder Do not embed nodes and links data in the code Your D3.js program shall implement a force layout Here is an example Here is another example The web page shall also include GUI components (such as slider bars or input boxes) to adjust parameters in the force layout algorithm, such as link distance, link strength, force strength, alpha, alphaDecay, etc. At least four parameters need to be adjustable. See this page for more details Display the network in the main window When a user moves the mouse cursor over a node, display the node's name (or label), if there is one . This requirement is worth 5 points Several sample data sets will be provided for testing. Your program must be able to handle these sample data sets . My TA will test your program with the sample data sets The sample network data sets are from this web site. You can test your program with other data sets from these web sites American football (network) Dolphin social network (network) Les Miserables (network) Neural network of the nematode C. Elegans (network) Implement all the features in one HTML file Including screenshots of the visualization of three different data sets - one screenshot for one data set. 3. You can find tutorials and examples of D3.js at the following web page and its sub- pages https://sites.google.com/sitelgsudatavis/home/data-visualization-with-d3-is The sample data sets are stored in gml format, a common file format for storing network data. You need to convert a gml file to D3.js compatible JSON format. The following web page shows how to convert such files https://sites.google.com/site/gsudatavis/home/data-visualization-with- s/how-to-convert-network-data-set-to-ison-format 2. Create a web page that display a network visualizations using D3.js The web page shall have an input box where user can enter a JSON file name. The web page shall read network data from the JSON file . You should use a local web server to test your program. Place the JSON files under your local web server's www folder Do not embed nodes and links data in the code Your D3.js program shall implement a force layout Here is an example Here is another example The web page shall also include GUI components (such as slider bars or input boxes) to adjust parameters in the force layout algorithm, such as link distance, link strength, force strength, alpha, alphaDecay, etc. At least four parameters need to be adjustable. See this page for more details Display the network in the main window When a user moves the mouse cursor over a node, display the node's name (or label), if there is one . This requirement is worth 5 points Several sample data sets will be provided for testing. Your program must be able to handle these sample data sets . My TA will test your program with the sample data sets The sample network data sets are from this web site. You can test your program with other data sets from these web sites American football (network) Dolphin social network (network) Les Miserables (network) Neural network of the nematode C. Elegans (network) Implement all the features in one HTML file Including screenshots of the visualization of three different data sets - one screenshot for one data set. 3. You can find tutorials and examples of D3.js at the following web page and its sub- pages https://sites.google.com/sitelgsudatavis/home/data-visualization-with-d3-is The sample data sets are stored in gml format, a common file format for storing network data. You need to convert a gml file to D3.js compatible JSON format. The following web page shows how to convert such files https://sites.google.com/site/gsudatavis/home/data-visualization-with- s/how-to-convert-network-data-set-to-ison-format

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Assessment of skills and interests.

Answered: 1 week ago

Question

Psychological, financial, and career counseling.

Answered: 1 week ago