D3.js (Document-Driven-Data) is a powerful JavaScript library for manipulating documents based on data.
|
|
|
- Megan Charles
- 9 years ago
- Views:
Transcription
1 Lab 3 Learning Objectives Know how to use basic shape elements in SVG Advanced JS: method chaining; anonymous functions; first intuition about asynchronous execution & callbacks Know how to include D3 in your project Know the structure and syntax of a basic D3 visualization Know how to load data into D3 Know how to bind data to visual elements Prerequisites You have read chapter 3 (p ) and chapter 5 (p , p ) in D3 - Interactive Data Visualization for the Web. You have successfully filled in the pre-quiz for the third lab. In the previous weeks you have learned a lot about the fundamentals of web development. Now, you should be well prepared for the upcoming phase where you will work on interactive data visualizations with D3. D3 - First Steps D3.js (Document-Driven-Data) is a powerful JavaScript library for manipulating documents based on data. "D3 allows you to bind arbitrary data to a Document Object Model (DOM), and then apply data-driven transformations to the document. For example, you can use D3 to generate an HTML table from an array of numbers. Or, use the same data to create an interactive SVG bar chart with smooth transitions and interaction." (d3.js, Mike Bostock)
2 A summary of D3's features and key aspects by Scott Murray: Loading data into the browser`s memory Binding data to elements within the document and creating new elements as needed Transforming those elements by interpreting each element's bound datum and setting its visual properties accordingly Transitioning elements between states in response to user input We will introduce all these concepts in the following weeks. D3 Integration This is a brief overview of how to set up a basic D3 project. This should not be completely new but it might help you to solve the activity later. Before working with D3 you have to download and include the D3 JavaScript library first. We recommend the minified version which has a smaller file size and faster loading time. Your structure for D3 projects might look like the following: project/ index.html css/ style.css js/ d3.v3.min.js main.js Therefore, we have to update our HTML boilerplate code. In the following code snippet we have included a reference to D3, to another JS file ( main.js ) and to an external CSS file ( style.css ). You should keep your own JS code separated from the JS libraries you are using. In the future you might have more than one library and don't want to change your code every time you update one of them (e.g. new release), so make sure you encapsulate your own code into separate files (libraries). Make also sure to include libraries before using them in your code (order of script tags).
3 <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>d3 Project</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <script src="js/d3.v3.min.js"></script> <script src="js/main.js"></script> </body> </html> An Overview of SVG (Scalable Vector Graphics) SVG is defined using markup code similar to HTML SVG elements don't lose any quality if they are resized SVG elements can be included directly within any HTML document or dynamically inserted into the DOM with JavaScript Before you can draw SVG elements you have to add an <svg> -element with a specific width and height to your HTML document, for example: <svg width="500" height="500"></svg> In all our visualizations we will use pixels as the default measurement units (other supported units: em, pt, in, cm, mm) The SVG coordinate system is based on x- and y-values to specify the element positioning. (0/0) is located in the top-left corner of the drawing space and increasing x-values move to the right, while increasing y-values move down. SVG has no layering concept or depth property. The order in which elements are coded determines their depth order. Basic shape elements in SVG: rect, circle, ellipse, line, text and path Examples:
4 <svg width="400" height="50"> <!-- Rectangle (x and y specify the coordinates of the upper-left corner --> <rect x="0" y="0" width="50" height="50" fill="blue" /> <!-- Circle: cx and cy specify the coordinates of the center and r the radius --> <circle cx="85" cy="25" r="25" fill="green" /> <!-- Ellipse: rx and ry specify separate radius values --> <ellipse cx="145" cy="25" rx="15" ry="25" fill="purple" /> <!-- Line: x1,y1 and x2,y2 specify the coordinates of the ends of the line --> <line x1="185" y1="5" x2="230" y2="40" stroke="gray" stroke-width="5" /> <!-- Text: x specifies the position of the left edge and y specifies the vertical position o <text x="260" y="25" fill="red">svg Text</text> </svg> Result: Adding a DOM Element with D3
5 In the previous labs and homeworks you have already worked with dynamic content and added new elements to the DOM tree, most likely with plain JavaScript or jquery. Now, we want to generate new page elements with D3. After loading the D3 library we can add our own script (e.g., main.js). Our JS script (main.js) consists actually only of one line of code: d3.select("body").append("p").text("hello World!"); In this example we have used D3 to add a paragraph with the text "Hello World!" to a basic webpage. Before going into further details we want to introduce the JS concept of Method Chaining briefly: Method Chaining Method or function chaining is a common technique in JS, especially when working with D3. It can be used to simplify code in scenarios that involve calling multiple methods on the same object consecutively. The functions are "chained" together with periods. The output type of one method has to match the input type expected by the next method in the chain. Alternative code without method chaining:
6 var body = d3.select("body"); var p = body.append("p"); p.text("hello World!"); (We will use the chain syntax in most examples and templates) d3 - References the D3 object, so we can access its functions by starting our statement with: d3. D3 Select The D3 select() method uses CSS selectors as an input to grab page elements. It will return a reference to the first element in the DOM that matches the selector. In our example we have used d3.select("body") to select the first DOM element that matches our CSS selector: body. Once an element is selected - and handed off to the next method in the chain - you can apply operators. These D3 operators allow you to get and set properties, styles and content (and will again return the current selection). (Alternatively, if you want to select more than one element, use selectall(). We will try it later in an example.) D3 Append After selecting a specific element we have used an operator to assign content:.append("p") The append() operator adds a new element as the last child of the current selection. We specified "p" as the input argument, so an empty paragraph has been added to the end of the body. The new paragraph is automatically selected for further operations. At the end we have used the text() property to insert a string between the opening and closing tags of the current selection. In summary, all methods together: d3.select("body").append("p").text("hello World!"); Your D3 statements can be much longer, so we recommend putting each method on its own indented line.
7 Activity I 1. Download D3: 2. Create a new D3 project You can use the updated boilerplate from above. At this point it might also be a good idea to create a template project (i.e., directory structure) that you can copy every time you create a new project. The template project should include the directory structure for your project and all the files and boilerplate you usually need (e.g., D3 libraries, Bootstrap and JQuery libraries, etc.). 3. Add an SVG rectangle to the HTML document Width: 400px, Height: 200px; Color: Green 4. Use D3 to add a div -container with the text "Dynamic Content" to the DOM Binding Data to DOM Elements "Data visualization is a process of mapping data to visuals. (Scott Murray) Similar to our last example we are using basic HTML paragraphs, but this time we append a new paragraph for each value in a given array: var states = ["Connecticut", "Main", "Massachusetts", "New Hampshire", "Rhode Island", var p = d3.select("body").selectall("p").data(states).enter().append("p").text("array Element");
8 (1).select("body") - Reference to the target container (2).selectAll("p") - Selection representing the elements (paragraphs) we want to create (3).data(states) - Loads the dataset (array of strings). The data could be also numbers, objects or other arrays. Each item of the array is assigned to each element of the current selection. Instead of returning just the regular selection, the data() operator returns three virtual selections: Enter contains a new placeholder for any missing elements Update contains existing elements bound to the data Exit contains existing elements that are not bound to data anymore and should be removed There are no "p"-elements on the page so the enter selection contains placeholders for all elements in the array. In this and the following examples we will concentrate only on the enter selection. You will learn more about the enter-update-exit sequence when we are working with interactive datasets. (4).enter() - Creates new data-bound elements/placeholders (5).append("p") - Takes the empty placeholder selection and appends a paragraph to the DOM for each element. (6).text("Array Element") - Adds a string to each newly created paragraph Dynamic Properties The dataset has been loaded and bound to new paragraphs but all the appended elements contain the same
9 content: "Array Element". If you want access to the corresponding values from the dataset you have to use anonymous functions:.text( function (d) { return d; } ); In this example we have included a JS function in the text() operator. Anonymous Functions A simple JS function looks like the following: function dosomething (d) { } return d; It has a function name, an input and an output variable. If the function name is missing, then it is called an anonymous function. If you want to use the function only in one place, an anonymous function is more concise than declaring a function and then doing something with it as two separate steps. We will use them very often in D3 to access individual values and to create interactive properties..text( function (d) { return d; } ); In our case we are using the function to access individual values of the loaded array. That is one feature of D3:
10 It can pass array/data elements and corresponding data indices to an anonymous function (which is called for each array element individually). Generally in D3 documentation and tutorials, you'll see the parameter d used for the current data element and i (or index ) used for the index of the current data element. The index is passed in as the second element to the function calls and is optional. Example for an anonymous function that passes the data element and index:.text( function (d, index) { } ); return console.log("element: " + d + " at position: " + index); It is still a regular function, so it doesn't have to be a simple return statement. We can use if-statements, forloops and we can also access the index of the current element in our selection. HTML attributes and CSS properties As already mentioned earlier, we can get and set different properties and styles - not only the textual content. This becomes very important when working with SVG elements. Example (1) - Add paragraphs and set properties var states = ["Connecticut", "Main", "Massachusetts", "New Hampshire", "Rhode Island", // Change the CSS property background (lightgray) d3.select("body").style("background-color", "#EEE"); // Append paragraphs and highlight one element d3.select("body").selectall("p").data(states).enter().append("p").text(function(d){ return d; }).attr("class", "custom-paragraph").style("color", "blue").style("font-weight", function(d) { if(d == "Massachusetts") return "bold"; else return "normal"; });
11 We use D3 to set the paragraph content, the HTML class, the font-color and as the last property, the fontweight which depends on the individual array value If you want to assign specific styles to the whole selection (e.g. font-color: blue), we recommend you to define an HTML class ("custom-paragraph" in our example) and add these rules in an external stylesheet. That will make your code concise and reusable. Result: Example (2) - Add SVG rectangles and set properties
12 var numericdata = [1, 2, 4, 8, 16]; // Add svg element (drawing space) var svg = d3.select("body").append("svg").attr("width", 300).attr("height", 50); // Add rectangle svg.selectall("rect").data(numericdata).enter().append("rect").attr("fill", "red").attr("width", 50).attr("height", 50).attr("y", 0).attr("x", function(d, index) { return (index * 60); }); We have appended SVG elements to the DOM tree in our second example. This means that we had to create the SVG drawing area first. We did this with D3 and saved the selection in the variable svg (in case you wonder why the d3 object is missing in the second statement). It is crucial to set the SVG coordinates. If we don't set the x and y values, all the rectangles will be drawn on the same position at (0, 0). By using the index - of the current element in the selection - we can create a dynamic x property and shift every newly created rectangle 60px to the right. Result:
13 Activity II Use your files from the first activity. You don't have to create a new project. 1. Append a new SVG element to your HTML document with D3 (Width: 500px, Height: 500px) 2. Draw circles with D3 Append a new SVG circle for every object in the following array: var sandwiches = [ { name: "Thesis", price: 7.95, size: "large" }, { name: "Dissertation", price: 8.95, size: "large" }, { name: "Highlander", price: 6.50, size: "small" }, { name: "Just Tuna", price: 6.50, size: "small" }, { name: "So-La", price: 7.95, size: "large" }, { name: "Special", price: 12.50, size: "small" } ]; 3. Define dynamic properties Set the x/y coordinates and make sure that the circles don't overlap each other Radius: large sandwiches should be twice as big as small ones Colors: use two different circle colors. One color ( fill ) for cheap products < 7.00 USD and one for more expensive products Add a border to every circle (SVG property: stroke ) The result might look like the following:
14 Loading external data Instead of typing the data in a local variable, which is also only convenient for small datasets, we can load data asynchronously from external files. The D3 built-in methods make it easy to load JSON, CSV and other files. You should already be familiar with the JSON format from the previous lab and you have probably worked with CSV files in the past too. CSV (Comma Separated Values) Similar to JSON, CSV is a file format which is often used to exchange data. Each line in a CSV file represents a table row and as the name indicates, the values/columns are separated by a comma. In a nutshell: The use of the right file format depends on the data - JSON should be used for hierarchical data and CSV is usually a proper way to store tabular data. We'll store the same sandwich price information in a CSV file. Most of the time CSV files are generated by exporting data from other applications, but for this example you should manually copy the data shown below into a blank file and save it as.csv: sandwiches.csv (create this file in a subfolder of your project named "data") name,price,size Thesis,7.95,large Dissertation,8.95,large Highlander,6.50,small Just Tuna,6.50,small So-La,7.95,large Special,12.50,small By calling D3 methods like d3.csv(), d3.json(), d3.tsv() etc. we can load external data resources in the browser: d3.csv("data/sandwiches.csv", function(data) { }); console.log(data); These functions (asynchronous requests) take two arguments: a string representing the path of the file, and an anonymous function, to be used as a callback function.
15 Callback Functions and Asynchronous Execution Why do we need an asynchronous execution? The page should be visible while data is loading and scripts that do not depend on the data should run immediately, while scripts that do depend on the data should only run once the data has been loaded! A callback function is a function that is passed to another function. It can be anonymous or named. We have used them multiple times before, for example to set the content:.text(function(d){ return; d }; The text() method executes the anonymous callback function we have passed to it. That means, we don't call the anonymous function directly and it is also not getting executed immediately. It is invoked after some kind of event and usually it is "called back" once its parent function is complete. In our data loading problem, we have to ask if we can read the file from the disk or an external server, but that usually takes a while. Hence, we are using an asynchronous execution: We don't have to wait and stall, instead we can proceed with further tasks that do not rely on the dataset. After receiving a notification that the data loading process is complete, the callback function is executed. Code that depends on the dataset should generally exist only in the callback function! (You can still structure your code in separate functions, however, if these functions depend on the dataset, they should only be called inside the callback function). Updated main.js d3.csv("sandwiches.csv", function(data) { console.log("data loading complete. Work with dataset."); console.log(data); }); console.log("do something else, without the data"); The result below shows that the execution order is different than what you might have expected: The callback function - the inner function of d3.csv() - is called only after the dataset is loaded completely to browser memory. In the meantime other scripts are executed.
16 Activity III Use your files from the previous activity. You don't have to create a new project. 1. Download the dataset: 2. Use D3 to load the CSV file Write the data to the web console and inspect it in your browser: In which format is the information stored now? Which properties are available? Check the types of the variables (with JavaScript code) 3. Filter the dataset We are only interested in cities that are part of the European Union (EU). In the remainder of the activity use the filtered dataset. 4. Append a new paragraph to your HTML document
17 Count all elements in the filtered dataset and use D3 methods to write the result (i.e., the number of EU countries) to your webpage. 5. Prepare the data You might have noticed that each value of the CSV file is stored as a string, including numerical values. Convert all numerical values to numbers. (Otherwise you might see unexpected behavior when making calculations.) We recommend iterating over all rows and using a statement similar to the following code snippet. Putting a "+" in front of a variable converts that variable to a number (you can also use parseint() or parsefloat() ): d.age = +d.age; 6. Draw one SVG circle for each row in the filtered dataset All the elements (drawing area + circles) should be added dynamically with D3 SVG container: width = 700px, height = 550px Use the x/y coordinates from the dataset to position the circles 7. Dynamic circle properties Change your default radius to a data-dependent value: The radius should be 4px for all cities with a population lower than The radius for all the other cities should be 8px. 8. Assign labels with the names of the European cities Use the SVG text element All the elements should have the same class: city-label The labels should be only visible for cities with a population equal or higher than You can use the SVG property opacity to solve this task. 9. Styling Create a new external stylesheet if you have not done it yet. Add proper styles to your webpage but include at least these CSS rules for the class city-label : Font size = 11px
18 Text anchor = middle Your result should look similar to this screenshot: Important notice: This example is not intended to be a best practice example of how to work with D3 scales. It was designed to help you to get a better understanding of different basic concepts in D3. Next week you will learn how to create real scales for different types of data, you will work with more flexible size measurements and you will learn how to use D3 axes in your visualizations. Later in this course you will also learn how to create interactive maps.
19 Bonus Activities 1. Use the d3-tip library to add tooltips displaying the country for each city Change the hover style of the SVG circles. 3. Add a D3 click listener and write the population of the clicked city (i.e., circle) to the web console. Submission of 1-minute paper Congratulations, you have now completed the activities of Lab 3. Please submit your 1-minute paper now. See you next week! Submission of lab (activity III) as part of homework 3 Please upload the code of your completed lab (activity III) with your homework 3 submission! Make sure to upload all files of this lab in a subfolder called "lab". Resources Chapter 3-6 in D3 - Interactive Data Visualization for the Web by Scott Murray
Interactive Data Visualization for the Web Scott Murray
Interactive Data Visualization for the Web Scott Murray Technology Foundations Web technologies HTML CSS SVG Javascript HTML (Hypertext Markup Language) Used to mark up the content of a web page by adding
Lab 2: Visualization with d3.js
Lab 2: Visualization with d3.js SDS235: Visual Analytics 30 September 2015 Introduction & Setup In this lab, we will cover the basics of creating visualizations for the web using the d3.js library, which
React+d3.js. Build data visualizations with React and d3.js. Swizec Teller. This book is for sale at http://leanpub.com/reactd3js
React+d3.js Build data visualizations with React and d3.js Swizec Teller This book is for sale at http://leanpub.com/reactd3js This version was published on 2016-04-11 This is a Leanpub book. Leanpub empowers
CIS 467/602-01: Data Visualization
CIS 467/602-01: Data Visualization HTML, CSS, SVG, (& JavaScript) Dr. David Koop Assignment 1 Posted on the course web site Due Friday, Feb. 13 Get started soon! Submission information will be posted Useful
Create interactive web graphics out of your SAS or R datasets
Paper CS07 Create interactive web graphics out of your SAS or R datasets Patrick René Warnat, HMS Analytical Software GmbH, Heidelberg, Germany ABSTRACT Several commercial software products allow the creation
MASTERTAG DEVELOPER GUIDE
MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...
jquery Tutorial for Beginners: Nothing But the Goods
jquery Tutorial for Beginners: Nothing But the Goods Not too long ago I wrote an article for Six Revisions called Getting Started with jquery that covered some important things (concept-wise) that beginning
Web Development 1 A4 Project Description Web Architecture
Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:
Visualizing a Neo4j Graph Database with KeyLines
Visualizing a Neo4j Graph Database with KeyLines Introduction 2! What is a graph database? 2! What is Neo4j? 2! Why visualize Neo4j? 3! Visualization Architecture 4! Benefits of the KeyLines/Neo4j architecture
Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2
Dashboard Skin Tutorial For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard engine overview Dashboard menu Skin file structure config.json Available telemetry properties dashboard.html dashboard.css Telemetry
EXERCISE: Introduction to the D3 JavaScript Library for Interactive Graphics and Maps
EXERCISE: Introduction to the D3 JavaScript Library for Interactive Graphics and Maps Barend Köbben Version 2.1 July 2, 2015 Contents 1 Introduction 2 2 Three little circles a first attempt at D3 3 2.1
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator Written by: Chris Jaun ([email protected]) Sudha Piddaparti ([email protected]) Objective In this
Visualizing MongoDB Objects in Concept and Practice
Washington DC 2013 Visualizing MongoDB Objects in Concept and Practice https://github.com/cvitter/ikanow.mongodc2013.presentation Introduction Do you have a MongoDB database full of BSON documents crying
MEAP Edition Manning Early Access Program D3.js in Action Version 5
MEAP Edition Manning Early Access Program D3.js in Action Version 5 Copyright 2014 Manning Publications For more information on this and other Manning titles go to www.manning.com Welcome Thank you for
Visualizing an OrientDB Graph Database with KeyLines
Visualizing an OrientDB Graph Database with KeyLines Visualizing an OrientDB Graph Database with KeyLines 1! Introduction 2! What is a graph database? 2! What is OrientDB? 2! Why visualize OrientDB? 3!
Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?
Question 1. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? (b) Briefly identify the primary purpose of the flowing inside the body section of an HTML document: (i) HTML
Introduction to D3.js Interactive Data Visualization in the Web Browser
Datalab Seminar Introduction to D3.js Interactive Data Visualization in the Web Browser Dr. Philipp Ackermann Sample Code: http://github.engineering.zhaw.ch/visualcomputinglab/cgdemos 2016 InIT/ZHAW Visual
Team Members: Christopher Copper Philip Eittreim Jeremiah Jekich Andrew Reisdorph. Client: Brian Krzys
Team Members: Christopher Copper Philip Eittreim Jeremiah Jekich Andrew Reisdorph Client: Brian Krzys June 17, 2014 Introduction Newmont Mining is a resource extraction company with a research and development
The purpose of jquery is to make it much easier to use JavaScript on your website.
jquery Introduction (Source:w3schools.com) The purpose of jquery is to make it much easier to use JavaScript on your website. What is jquery? jquery is a lightweight, "write less, do more", JavaScript
Nintex Forms 2013 Help
Nintex Forms 2013 Help Last updated: Friday, April 17, 2015 1 Administration and Configuration 1.1 Licensing settings 1.2 Activating Nintex Forms 1.3 Web Application activation settings 1.4 Manage device
Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University
Web Design Basics Cindy Royal, Ph.D. Associate Professor Texas State University HTML and CSS HTML stands for Hypertext Markup Language. It is the main language of the Web. While there are other languages
Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00
Course Page - Page 1 of 12 Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00 Course Description Responsive Mobile Web Development is more
Yandex.Widgets Quick start
17.09.2013 .. Version 2 Document build date: 17.09.2013. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2013 Yandex LLC. All rights reserved.
JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.
1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,
We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.
Creative Specs Gmail Sponsored Promotions Overview The GSP creative asset will be a ZIP folder, containing four components: 1. Teaser text file 2. Teaser logo image 3. HTML file with the fully expanded
Interactive HTML Reporting Using D3 Naushad Pasha Puliyambalath Ph.D., Nationwide Insurance, Columbus, OH
Paper DV09-2014 Interactive HTML Reporting Using D3 Naushad Pasha Puliyambalath Ph.D., Nationwide Insurance, Columbus, OH ABSTRACT Data visualization tools using JavaScript have been flourishing recently.
Script Handbook for Interactive Scientific Website Building
Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step
PLAYER DEVELOPER GUIDE
PLAYER DEVELOPER GUIDE CONTENTS CREATING AND BRANDING A PLAYER IN BACKLOT 5 Player Platform and Browser Support 5 How Player Works 6 Setting up Players Using the Backlot API 6 Creating a Player Using the
D3.JS: Data-Driven Documents
D3.JS: Data-Driven Documents Roland van Dierendonck Leiden University [email protected] Sam van Tienhoven Leiden University [email protected] Thiago Elid Leiden University [email protected]
WP Popup Magic User Guide
WP Popup Magic User Guide Plugin version 2.6+ Prepared by Scott Bernadot WP Popup Magic User Guide Page 1 Introduction Thank you so much for your purchase! We're excited to present you with the most magical
Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps. JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc.
Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc. Introduction. Learning Points. What is Responsive Design and its Role? Design
Using Style Sheets for Consistency
Cascading Style Sheets enable you to easily maintain a consistent look across all the pages of a web site. In addition, they extend the power of HTML. For example, style sheets permit specifying point
Citrix StoreFront. Customizing the Receiver for Web User Interface. 2012 Citrix. All rights reserved.
Citrix StoreFront Customizing the Receiver for Web User Interface 2012 Citrix. All rights reserved. Customizing the Receiver for Web User Interface Introduction Receiver for Web provides a simple mechanism
Dreamweaver Tutorial - Dreamweaver Interface
Expertrating - Dreamweaver Interface 1 of 5 6/14/2012 9:21 PM ExpertRating Home ExpertRating Benefits Recommend ExpertRating Suggest More Tests Privacy Policy FAQ Login Home > Courses, Tutorials & ebooks
Example. Represent this as XML
Example INF 221 program class INF 133 quiz Assignment Represent this as XML JSON There is not an absolutely correct answer to how to interpret this tree in the respective languages. There are multiple
Microsoft Word 2010. Quick Reference Guide. Union Institute & University
Microsoft Word 2010 Quick Reference Guide Union Institute & University Contents Using Word Help (F1)... 4 Window Contents:... 4 File tab... 4 Quick Access Toolbar... 5 Backstage View... 5 The Ribbon...
Short notes on webpage programming languages
Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of
CLASSROOM WEB DESIGNING COURSE
About Web Trainings Academy CLASSROOM WEB DESIGNING COURSE Web Trainings Academy is the Top institutes in Hyderabad for Web Technologies established in 2007 and managed by ITinfo Group (Our Registered
CSS Techniques: Scrolling gradient over a fixed background
This is a little hard to describe, so view the example and be sure to scroll to the bottom of the page. The background is a gradient that fades into a simple graphic. As you scroll down the page, the graphic
WEB DEVELOPMENT COURSE (PHP/ MYSQL)
WEB DEVELOPMENT COURSE (PHP/ MYSQL) COURSE COVERS: HTML 5 CSS 3 JAVASCRIPT JQUERY BOOTSTRAP 3 PHP 5.5 MYSQL SYLLABUS HTML5 Introduction to HTML Introduction to Internet HTML Basics HTML Elements HTML Attributes
Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.
Working with Tables in Microsoft Word The purpose of this document is to lead you through the steps of creating, editing and deleting tables and parts of tables. This document follows a tutorial format
Using HTML5 Pack for ADOBE ILLUSTRATOR CS5
Using HTML5 Pack for ADOBE ILLUSTRATOR CS5 ii Contents Chapter 1: Parameterized SVG.....................................................................................................1 Multi-screen SVG.......................................................................................................4
How to Deploy Custom Visualizations Using D3 on MSTR 10. Version 1.0. Presented by: Felipe Vilela
How to Deploy Custom Visualizations Using D3 on MSTR 10 Version 1.0 Presented by: Felipe Vilela Table of Contents How to deploy Custom Visualizations using D3 on MSTR 10... 1 Version 1.0... 1 Table of
How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For
How-to Guide: MIT DLC Drupal Cloud Theme This guide will show you how to take your initial Drupal Cloud site... and turn it into something more like this, using the MIT DLC Drupal Cloud theme. See this
Visualizing Data: Scalable Interactivity
Visualizing Data: Scalable Interactivity The best data visualizations illustrate hidden information and structure contained in a data set. As access to large data sets has grown, so has the need for interactive
JISIS and Web Technologies
27 November 2012 Status: Draft Author: Jean-Claude Dauphin JISIS and Web Technologies I. Introduction This document does aspire to explain how J-ISIS is related to Web technologies and how to use J-ISIS
Joomla! 2.5.x Training Manual
Joomla! 2.5.x Training Manual Joomla is an online content management system that keeps track of all content on your website including text, images, links, and documents. This manual includes several tutorials
Treemap Visualisations
Treemap Visualisations This exercise aims to be a getting started guide for building interactive Treemap visualisations using the D3 JavaScript library. While data visualisation has existed for many years
Facebook Twitter YouTube Google Plus Website Email. o Zooming and Panning. Panel. 3D commands. o Working with Canvas
WEB DESIGN COURSE COURSE COVERS: Photoshop HTML 5 CSS 3 Design Principles Usability / UI Design BOOTSTRAP 3 JAVASCRIPT JQUERY CSS Animation Optimizing of Web SYLLABUS FEATURES 2 Hours of Daily Classroom
JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript
Basic tutorial for Dreamweaver CS5
Basic tutorial for Dreamweaver CS5 Creating a New Website: When you first open up Dreamweaver, a welcome screen introduces the user to some basic options to start creating websites. If you re going to
Responsive Web Design Creative License
Responsive Web Design Creative License Level: Introduction - Advanced Duration: 16 Days Time: 9:30 AM - 4:30 PM Cost: 2197 Overview Web design today is no longer just about cross-browser compatibility.
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation Credit-By-Assessment (CBA) Competency List Written Assessment Competency List Introduction to the Internet
Microsoft Excel 2010 Charts and Graphs
Microsoft Excel 2010 Charts and Graphs Email: [email protected] Web Page: http://training.health.ufl.edu Microsoft Excel 2010: Charts and Graphs 2.0 hours Topics include data groupings; creating
Website Login Integration
SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2
TUTORIAL 4 Building a Navigation Bar with Fireworks
TUTORIAL 4 Building a Navigation Bar with Fireworks This tutorial shows you how to build a Macromedia Fireworks MX 2004 navigation bar that you can use on multiple pages of your website. A navigation bar
Creating a Resume Webpage with
Creating a Resume Webpage with 6 Cascading Style Sheet Code In this chapter, we will learn the following to World Class CAD standards: Using a Storyboard to Create a Resume Webpage Starting a HTML Resume
Visualization: Combo Chart - Google Chart Tools - Google Code
Page 1 of 8 Google Chart Tools Home Docs FAQ Forum Terms Visualization: Combo Chart Overview Example Loading Data Format Configuration Options Methods Events Data Policy Overview A chart that lets you
JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA
JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA All information presented in the document has been acquired from http://docs.joomla.org to assist you with your website 1 JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA BACK
Create Webpages using HTML and CSS
KS2 Create Webpages using HTML and CSS 1 Contents Learning Objectives... 3 What is HTML and CSS?... 4 The heading can improve Search Engine results... 4 E-safety Webpage... 5 Creating a Webpage... 6 Creating
Using Adobe Dreamweaver CS4 (10.0)
Getting Started Before you begin create a folder on your desktop called DreamweaverTraining This is where you will save your pages. Inside of the DreamweaverTraining folder, create another folder called
Your First Web Page. It all starts with an idea. Create an Azure Web App
Your First Web Page It all starts with an idea Every web page begins with an idea to communicate with an audience. For now, you will start with just a text file that will tell people a little about you,
About XML in InDesign
1 Adobe InDesign 2.0 Extensible Markup Language (XML) is a text file format that lets you reuse content text, table data, and graphics in a variety of applications and media. One advantage of using XML
User Guide for Smart Former Gold (v. 1.0) by IToris Inc. team
User Guide for Smart Former Gold (v. 1.0) by IToris Inc. team Contents Offshore Web Development Company CONTENTS... 2 INTRODUCTION... 3 SMART FORMER GOLD IS PROVIDED FOR JOOMLA 1.5.X NATIVE LINE... 3 SUPPORTED
WP Popup Magic User Guide
WP Popup Magic User Guide Introduction Thank you so much for your purchase! We're excited to present you with the most magical popup solution for WordPress! If you have any questions, please email us at
Beginning Web Development with Node.js
Beginning Web Development with Node.js Andrew Patzer This book is for sale at http://leanpub.com/webdevelopmentwithnodejs This version was published on 2013-10-18 This is a Leanpub book. Leanpub empowers
DOING MORE WITH WORD: MICROSOFT OFFICE 2010
University of North Carolina at Chapel Hill Libraries Carrboro Cybrary Chapel Hill Public Library Durham County Public Library DOING MORE WITH WORD: MICROSOFT OFFICE 2010 GETTING STARTED PAGE 02 Prerequisites
MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC
MyOra 3.0 SQL Tool for Oracle User Guide Jayam Systems, LLC Contents Features... 4 Connecting to the Database... 5 Login... 5 Login History... 6 Connection Indicator... 6 Closing the Connection... 7 SQL
Drupal Training Guide
Drupal Training Guide Getting Started Drupal Information page on the IT site: http://it.santarosa.edu/drupal On this page is information about Drupal sign up, what Drupal is, which is a content management
Creating and Configuring a Custom Visualization Component
ORACLE CORPORATION Creating and Configuring a Custom Visualization Component Oracle Big Data Discovery Version 1.1.x Oracle Big Data Discovery v1.1.x Page 1 of 38 Rev 1 Table of Contents Overview...3 Process
CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)
CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions) Step 1 - DEFINE A NEW WEB SITE - 5 POINTS 1. From the welcome window that opens select the Dreamweaver Site... or from the main
Developer Tutorial Version 1. 0 February 2015
Developer Tutorial Version 1. 0 Contents Introduction... 3 What is the Mapzania SDK?... 3 Features of Mapzania SDK... 4 Mapzania Applications... 5 Architecture... 6 Front-end application components...
Ad Hoc Reporting. Usage and Customization
Usage and Customization 1 Content... 2 2 Terms and Definitions... 3 2.1 Ad Hoc Layout... 3 2.2 Ad Hoc Report... 3 2.3 Dataview... 3 2.4 Page... 3 3 Configuration... 4 3.1 Layout and Dataview location...
Terminal 4 Site Manager User Guide. Need help? Call the ITD Lab, x7471
Need help? Call the ITD Lab, x7471 1 Contents Introduction... 2 Login to Terminal 4... 2 What is the Difference between a Section and Content... 2 The Interface Explained... 2 Modify Content... 3 Basic
Skills for Employment Investment Project (SEIP)
Skills for Employment Investment Project (SEIP) Standards/ Curriculum Format For Web Design Course Duration: Three Months 1 Course Structure and Requirements Course Title: Web Design Course Objectives:
Madison Area Technical College. MATC Web Style Guide
Madison Area Technical College MATC Web Style Guide July 27, 2005 Table of Contents Topic Page Introduction/Purpose 3 Overview 4 Requests for Adding Content to the Web Server 3 The MATC Public Web Template
Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY
Advanced Web Development Duration: 6 Months SCOPE OF WEB DEVELOPMENT INDUSTRY Web development jobs have taken thе hot seat when it comes to career opportunities and positions as a Web developer, as every
CSS 101. CSS CODE The code in a style sheet is made up of rules of the following types
CSS 101 WHY CSS? A consistent system was needed to apply stylistic values to HTML elements. What CSS does is provide a way to attach styling like color:red to HTML elements like . It does this by defining
Introduction to the TI-Nspire CX
Introduction to the TI-Nspire CX Activity Overview: In this activity, you will become familiar with the layout of the TI-Nspire CX. Step 1: Locate the Touchpad. The Touchpad is used to navigate the cursor
Introduction to Ingeniux Forms Builder. 90 minute Course CMSFB-V6 P.0-20080901
Introduction to Ingeniux Forms Builder 90 minute Course CMSFB-V6 P.0-20080901 Table of Contents COURSE OBJECTIVES... 1 Introducing Ingeniux Forms Builder... 3 Acquiring Ingeniux Forms Builder... 3 Installing
SPHOL326: Designing a SharePoint 2013 Site. Hands-On Lab. Lab Manual
2013 SPHOL326: Designing a SharePoint 2013 Site Hands-On Lab Lab Manual This document is provided as-is. Information and views expressed in this document, including URL and other Internet Web site references,
Real World D3.JS. John Hammer. This book is for sale at http://leanpub.com/realworldd3js. This version was published on 2015-06-16
Real World D3.JS John Hammer This book is for sale at http://leanpub.com/realworldd3js This version was published on 2015-06-16 This is a Leanpub book. Leanpub empowers authors and publishers with the
How to code, test, and validate a web page
Chapter 2 How to code, test, and validate a web page Slide 1 Objectives Applied 1. Use a text editor like Aptana Studio 3 to create and edit HTML and CSS files. 2. Test an HTML document that s stored on
^/ CS> KRIS. JAMSA, PhD, MBA. y» A- JONES & BARTLETT LEARNING
%\ ^/ CS> v% Sr KRIS JAMSA, PhD, MBA y» A- JONES & BARTLETT LEARNING Brief Contents Acknowledgments Preface Getting Started with HTML Integrating Images Using Hyperlinks to Connect Content Presenting Lists
ConvincingMail.com Email Marketing Solution Manual. Contents
1 ConvincingMail.com Email Marketing Solution Manual Contents Overview 3 Welcome to ConvincingMail World 3 System Requirements 3 Server Requirements 3 Client Requirements 3 Edition differences 3 Which
Dashcode User Guide. (Retired Document)
Dashcode User Guide (Retired Document) Contents Introduction to Dashcode User Guide 7 Who Should Read This Document? 7 Organization of This Document 7 Getting and Running Dashcode 8 Reporting Bugs 8 See
Visualization Extension Plugin Version: 1.0.0-2014-12-04. Visualization Extension Plugin for SAP Web IDE
Visualization Extension Plugin Version: 1.0.0-2014-12-04 Visualization Extension Plugin for SAP Web IDE Content 1 Visualization Extension Plugin Overview....3 1.1 About the visualization extension plugin....
Dreamweaver. Introduction to Editing Web Pages
Dreamweaver Introduction to Editing Web Pages WORKSHOP DESCRIPTION... 1 Overview 1 Prerequisites 1 Objectives 1 INTRODUCTION TO DREAMWEAVER... 1 Document Window 3 Toolbar 3 Insert Panel 4 Properties Panel
Microsoft Publisher 2010 What s New!
Microsoft Publisher 2010 What s New! INTRODUCTION Microsoft Publisher 2010 is a desktop publishing program used to create professional looking publications and communication materials for print. A new
4/25/2016 C. M. Boyd, [email protected] Practical Data Visualization with JavaScript Talk Handout
Practical Data Visualization with JavaScript Talk Handout Use the Workflow Methodology to Compare Options Name Type Data sources End to end Workflow Support Data transformers Data visualizers General Data
Joomla! template Blendvision v 1.0 Customization Manual
Joomla! template Blendvision v 1.0 Customization Manual Blendvision template requires Helix II system plugin installed and enabled Download from: http://www.joomshaper.com/joomla-templates/helix-ii Don
Using Microsoft Word. Working With Objects
Using Microsoft Word Many Word documents will require elements that were created in programs other than Word, such as the picture to the right. Nontext elements in a document are referred to as Objects
BT CONTENT SHOWCASE. JOOMLA EXTENSION User guide Version 2.1. Copyright 2013 Bowthemes Inc. [email protected]
BT CONTENT SHOWCASE JOOMLA EXTENSION User guide Version 2.1 Copyright 2013 Bowthemes Inc. [email protected] 1 Table of Contents Introduction...2 Installing and Upgrading...4 System Requirement...4
CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5
CMSC434 TUTORIAL #3 HTML CSS JavaScript Jquery Ajax + Google AppEngine Mobile WebApp HTML5 JQuery Recap JQuery source code is an external JavaScript file
