Please thank our sponsors?. SharePoint Data Visualization Using D3, SVG, jQuery and REST.

Slides:



Advertisements
Similar presentations
What is Multimedia ? Multi ( Multiple ) and Media ! So…. Information in multiple formats, including text, images, audio, video and animation :) It makes.
Advertisements

Bring Life to Your Web Pages with JavaScript and HTML5 Part 2 Ole Ildsgaard Hougaard -
CHAPTER 20 CREATING SVG GRAPHICS. LEARNING OBJECTIVES How to embed a graphic stored within a.SVG file in an HTML page How to use the and tag pair to specify.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
Lecture # 11 JavaScript Graphics. Scalable Vector Graphics (SVG) Scalable Vector Graphics (SVG), as the name implies, are - scalable (without pixelation):
Introduction to HTML5 Programming donghao. HTML5 is the New HTML Standard New Elements, Attributes. Full CSS3 Support Video and Audio 2D/3D Graphics Local.
Day 2 – JavaScript & PHP.  Have the hover effect display an extra image  Add an extra image for each of the tags  In your writeText() function, you.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 2 Exploring Data with Graphs and Numerical Summaries Section 2.2 Graphical Summaries.
Digital Image Processing Lecture11: Histogram Processing.
Basic HTML. HTML Background November 1990, first created by Tim Berners Lee, the father/inventor of WWW Knighted by Queen Victoria in 2004 Hypertext is.
2 Part II Enhancing a Presentation Changing the Presentation Design Design template Professionally created slide designs contain –Color schemes –Custom.
Web Page Development Identify elements of a Web Page Start Notepad
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Presentation of Data.
Fifth Grade Indiana Math Standards 5.6.1Explain which types of displays are appropriate for various sets of data. Example: conduct a survey to find the.
CHAPTER 21 INTRODUCING THE HTML 5 CANVAS. LEARNING OBJECTIVES How to create a canvas using the and tag pair How to test if a browser supports canvas operations.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Director of Computer Center, DaYeh University Ku-Yaw Chang.
CGS3066: Web Programming and Design Summer 2014 Instructor Mir Anamul Hasan.
Lab Assignment 7 | Web Forms and Manipulating Strings Interactive Features Added In this assignment you will continue the design and implementation of.
SVG: The Past, Present and Future of Vector Graphics for the Web Patrick Dengler Senior Program Manager, Internet Explorer Team Member, W3C SVG Working.
Dojox charting Karthick S. Dojo Charting Presenting statistical data in a readable, eye-catching manner is important, but it can also be difficult. The.
Graphs Displaying Data. Graphing Graphs are visual displays of data. Different types of graphs are used for different purposes. The correct type of graph.
CHAPTER 2 HTML & HTML5 II อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
HTML5 – The Power of HTML5 – The Power of Thomas Lewis HTML5 Principal Technical Evangelist Microsoft | asimplepixel.tumblr.com.
Lesson 1.2 – Page 17 Desk Standards: Reason quantitatively and use units to solve problems.
Getting Started with Canvas IDIA Spring 2013 Bridget M. Blodgett.
Introduction to Information Visualization Robert Putnam Introduction to Information Visualization - Spring 2013.
HTML 5 Tutorial Chapter 5 Canvas. Canvas The tag is used to display graphics. The Canvas is a rectangular area we control each and every pixel of it.
Lesson 2: Basic HTML Code Basic HTML Code. HTML is an acronym for Hypertext Markup Language. Internet browsers translate the HTML code into texts and.
Element. The element Used to dynamically draw graphics using javascript. Capable of drawing paths, circles, rectangles, text, and images.
HTML: Hyptertext Markup Language Doman’s Sections.
Graphing Why? Help us communicate information : Visual What is it telling your? Basic Types Line Bar Pie.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript.
Excel chapter 4.
SVG for Designers Tom Hoferek. Objectives Introduce SVG Illustrate its capabilities Demonstrate SVG in action Speculate, discuss, answer questions.
Computational Boot Camp HTML Mike Schaffer. 8/23/2002 (MES) HTML What is HTML? HTML stands for HyperText Markup Language HTML is the language for publishing.
A Quick Introduction to d3.js & Reusable Charts Adam Pere Olin College, November 11 th 2014
Graphs Types of Graphs. Visual Representations Scientists frequently utilize graphs and charts to serve as visual representations of their data. There.
Chapter 2: Variables, Functions, Objects, and Events JavaScript - Introductory.
MARVELORIGINS CS 235 Data Visualization Project 12/17/2014 Jarad Bell Ryan LaCross Stella Lee Karan Khare.
HTML.
LAB 03: VISUALIZATION WITH D3 September 30, 2015 SDS 235 Visual Analytics.
Data-Driven Document BY SIMA MEHRI. Voronoi Diagram
HTML JAVASCRIPT. CONTENTS Javascript Example NOSCRIPT Tag Advantages Summary Exercise.
2.2 – Bar Graphs, Circle Graphs, and Time-Series Graphs Vocabulary Bar Graph – Vertical or Horizontal – Uniform width and spaced – Length represents values,
D3 Practicum CS 4460 – Information Visualization Megha Sandesh Prepared under advisement by Dr.Fames Foley.
Chapter 10 Dynamic HTML (DHTML) JavaScript, Third Edition.
HTML 5 (Part 1) – Start from SCRATCH. HTML 5 – Start from SCRATCH.
Scalable Vector Graphics Dietz Ellis 04/17/06. SVG SVG is a language for describing two- dimensional graphics in XML. SVG is a language for describing.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
Developing Online Tools To Support The Visualization Of Ocean Data For Educational Applications Poster #1767 Michael Mills, S. Lichtenwalner,
Web Basics: HTML/CSS/JavaScript What are they?
SVG & DOM Manipulation via Javascript
Lab 03: Visualization with d3
Chapter 4: Scalable Vector Graphics (SVG)
Graphing Data.
2.2 Bar Charts, Pie Charts, and Stem and Leaf Diagram
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Introduction to D3.js and Bar Chart in D3.js
D3.js Tutorial (Hands on Session)
Exam1 Review CSE111 B.Ramamurthy 2/17/2019 B.Ramamurthy.
Thank you Sponsors.
D3.js Tutorial (Hands on Session)
4.8 Functions and Relations
ADUG Melbourne, 18 MARCH 2019 Tony Bryer, Greentram Software
Creating User Interfaces
Week 10 - HTML SVG Student: Vladislovas Karalius
Presentation transcript:

Please thank our sponsors?

SharePoint Data Visualization Using D3, SVG, jQuery and REST

Joseph VanWagoner Employed at the University of Utah SharePoint developer since Likes: –Exercise –Comic Books (Superman!!!) –My Family –College Football

Joseph VanWagoner

Objectives Learn about D3 JavaScript framework Learn about SVG elements Learn how to build data visualization using D3, SVG, REST and of course SharePoint

Learn about D3 What is D3? D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS. (

Learn about D3 What is D3? D3 has the ability to create live, dynamic, rich and interactive data visualization in the form of: Bar Charts Pie Charts Gantt Charts And much, much more…

Learn about D3 EXAMPLES

Learn about D3 What is SVG? Scalable Vector Graphics SVG is a text-based image format. Meaning, you can specify what an SVG image should look like by writing simple markup code, sort of like HTML tags. In fact, SVG code can be included directly within any HTML 5 compliant browser

Learn about D3 What is SVG? SVG Shapes SVG has some predefined shape elements that can be used by developers: Rectangle Circle Ellipse Line Text Path

Learn about D3 What is SVG? SVG Rectangle -

Learn about D3 What is SVG? SVG Circle -

Learn about D3 What is SVG? SVG Ellipse -

Learn about D3 What is SVG? SVG Line -

Learn about D3 What is SVG? SVG Text -

Learn about D3 What is SVG? SVG Path - M = moveto L = lineto H = horizontal lineto V = vertical lineto C = curveto S = smooth curveto Q = quadratic Bézier curve T = smooth quadratic Bézier curveto A = elliptical Arc Z = closepath

Learn about D3 What is SVG? Coordinate Space

Learn about D3 What is SVG? CSS

Learn about D3 Let’s Get Started What is needed? A page jQuery D3 JavaScript CSS SharePoint List

Learn about D3 DEMO

Learn about D3

Scales “Scales are functions that map from an input domain to an output range.” That’s Mike Bostock’s definition of D3 scales.Mike Bostock’s definition of D3 scales

Learn about D3 Scales Apples and Pixels Imagine that the following data set represents the number of apples sold at a roadside fruit stand each month: var dataset = [ 100, 200, 300, 400, 500 ];

Learn about D3 Scales Quantitative Scales – for continuous input domains, aka unordered lists Ordinal Scales – for discrete input domains, such as numbers, aka ordered lists Time Scales – for time domains

Learn about D3 Scales Domains and Ranges A scale’s input domain is the range of possible input data values. Given the apples data above, appropriate input domains would be either 100 and 500 (the minimum and maximum values of the data set) or zero and 500. A scale’s output range is the range of possible output values, commonly used as display values in pixel units. The output range is completely up to you, as the information designer. If you decide the shortest apple-bar will be 10 pixels tall, and the tallest will be 350 pixels tall, then you could set an output range of 10 and 350.

Learn about D3 Scales Normalization: is the process of mapping a numeric value to a new value between 0 and 1, based on the possible minimum and maximum values. For example, with 365 days in the year, day number 310 maps to about 0.85, or 85% of the way through the year.

Learn about D3 DEMO

Learn about D3 Axes Much like the scale functions, D3’s axes are actually functions whose parameters you define.D3’s axes Unlike scales, when an axis function is called, it doesn’t return a value, but generates the visual elements of the axis, including lines, labels, and ticks.

Learn about D3 Axes Vertical Horizontal

Learn about D3 DEMO

Learn about D3 Pie Chart 3.14 var pie = d3.layout.pie(); //this will create arc data for us given a list of values pie.value(function (d) { return d.frequency; }).sort(null); //we must tell it out to access the value of each element in our data array

Learn about D3 What is SVG? SVG Path - M = moveto L = lineto H = horizontal lineto V = vertical lineto C = curveto S = smooth curveto Q = quadratic Bézier curve T = smooth quadratic Bézier curveto A = elliptical Arc Z = closepath

Learn about D3 Pie Chart The Arc Reactor: var arc = d3.svg.arc().outerRadius(r *.8).innerRadius(r *.4); this will create elements for us using arc data

Learn about D3 Resources D3 Tutorials – Scott Murray Simple Pie Chart Example Library Go to the Source

Learn about D3 Questions???

Learn about D3 Thanks!!!