Interactive Data Visualization for the Web Scott Murray

Similar documents
CIS 467/602-01: Data Visualization

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

Outline of CSS: Cascading Style Sheets

Lab 2: Visualization with d3.js

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Web Authoring CSS. Module Descriptor

Introduction to Adobe Dreamweaver CC

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

WEB DEVELOPMENT COURSE (PHP/ MYSQL)

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

IT3504: Web Development Techniques (Optional)

CSS 101. CSS CODE The code in a style sheet is made up of rules of the following types

Fast track to HTML & CSS 101 (Web Design)

Web Development I & II*

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

ITNP43: HTML Lecture 4

ICE: HTML, CSS, and Validation

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Selectors in Action LESSON 3

Responsive Web Design Creative License

WEB DESIGN COURSE CONTENT

{color:blue; font-size: 12px;}

Introduction to Web Design Curriculum Sample

IT3503 Web Development Techniques (Optional)

Web Design & Development - Tutorial 04

Citrix StoreFront. Customizing the Receiver for Web User Interface Citrix. All rights reserved.

CLASSROOM WEB DESIGNING COURSE

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

Using Adobe Dreamweaver CS4 (10.0)

jquery Tutorial for Beginners: Nothing But the Goods

Web Design and Development Program (WDD)

ACE: Dreamweaver CC Exam Guide

10CS73:Web Programming

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

Introduction to web development and JavaScript

Web Development 1 A4 Project Description Web Architecture

Basic tutorial for Dreamweaver CS5

Facebook Twitter YouTube Google Plus Website . o Zooming and Panning. Panel. 3D commands. o Working with Canvas

Contents. Downloading the Data Files Centering Page Elements... 6

Short notes on webpage programming languages

^/ CS> KRIS. JAMSA, PhD, MBA. y» A- JONES & BARTLETT LEARNING

Web Application diploma using.net Technology

SAULT COLLEGE OF APPLIED ARTS AND TECHNOLOGY SAULT STE. MARIE, ONTARIO COURSE OUTLINE

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

IAS Web Development using Dreamweaver CS4

Cascading Style Sheets (CSS)

Using HTML5 Pack for ADOBE ILLUSTRATOR CS5

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Your First Web Page. It all starts with an idea. Create an Azure Web App

Differences between HTML and HTML 5

How to Create an HTML Page

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

Visualizing Data: Scalable Interactivity

Debugging JavaScript and CSS Using Firebug. Harman Goei CSCI 571 1/27/13

Web Design and Databases WD: Class 7: HTML and CSS Part 3

HTML and CSS. Elliot Davies. April 10th,

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1

Programming exercises (Assignments)

Introduction to D3.js Interactive Data Visualization in the Web Browser

Developer Tutorial Version 1. 0 February 2015

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

Developers Guide. Designs and Layouts HOW TO IMPLEMENT WEBSITE DESIGNS IN DYNAMICWEB. Version: English

A send-a-friend application with ASP Smart Mailer

Saucon Valley School District Planned Course of Study

CST 150 Web Design I CSS Review - In-Class Lab

Foundations. Web Development and Design. with HTML5. [Terry Ann Felke-Morris, Ed.D.J. 6th Edition. Harper College. Piyali Sengupta.

WEB DEVELOPMENT IA & IB (893 & 894)

JJY s Joomla 1.5 Template Design Tutorial:

Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature

Simply type the id# in the search mechanism of ACS Skills Online to access the learning assets outlined below.

Introduction to Web Technologies

Creating a Resume Webpage with

WordPress and HTML Basics

ISI ACADEMY Web applications Programming Diploma using PHP& MySQL

CST 150 Web Design and Development I Midterm Exam Study Questions Chapters 1-3

Adobe Illustrator CS6. Illustrating Innovative Web Design

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

The purpose of jquery is to make it much easier to use JavaScript on your website.

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

Programming in HTML5 with JavaScript and CSS3

JW Player Quick Start Guide

Analyzing Data Using Excel

Quick Guide to the Cascade Server Content Management System (CMS)

Visualizing MongoDB Objects in Concept and Practice

Version 4.0. Unit 3: Web Design. Computer Science Equity Alliance, Exploring Computer Science Unit 3: Web Design 102

Using an external style sheet with Dreamweaver (CS6)

Using Style Sheets for Consistency

Transcription:

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 a structure to the elements in the web page Elements Paragraph, division, ordered and unordered list, headings, links, body, head, title, etc., and the root html Elements are created by tags, for example, <p> defines the beginning of a paragraph </p> closes the paragraph

A Simple HTML 1. Can you create a web page like the following, with your own content 2. Then enhance your web page with tables and images

A List of Common Elements

Comments, Classes, and IDs You can add comments to your html document with <! this is a comment --> Elements can be identified by their classes or IDs (important for CSS and Javascript) Classes: IDs: (only used for one element and only once in a page)

Document Object Model (DOM) Describes the hierarchical structure of HTML The parent, child, sibling, ancestor, descendant relationships among the HTML elements Open the development tool of your browser to check the DOM of the page you just created

Cascading Style Sheets (CSS) To style the visual presentation of DOM elements selector property value Selectors: DOM elements : body, h1, p, div, em, etc. Descendant selectors: div p /* p elements contained in a div Class selectors: example:.caption,.label,.axis (caption, label, and axis are class names You can string the classes together: e.g..bar.highlight ID selectors: e.g. #nav #export

Properties There are tons of properties in CSS Common properties: font-family, font-size, backgroundcolor, background-image, border, etc. http://tech.journalism.cuny.edu/documentation/css-cheatsheet/) An exhaustive list of CSS properties: https://developer.mozilla.org/en-us/docs/web/css/ Reference

Apply CSS rules Embed CSS in HTML

Apply CSS rules Reference an external file

Apply CSS rules Attach inline styles

Scalable Vector Graphics (SVG) Use D3 to produce SVG SVG can be directly included in a HTML document How to write SVG? Create a SVG element Between the svg tags, include your visual elements rect,circle, elliopse, line, text, and path (0,0) is the top left corner rect circle ellipse text path anything more complex then the preceding shapes

Styling SVG

Javascript Putting javascript code in your HTML External source file: Direct put in your HTML:

Quick Review of JS syntax Print message to the console (in the development window) console.log( hello world! ); Declare a variable var number = 5; You can later change the variable content to a value of different type number = hello ; JS is a losely typed language Declare an array (useful for you to try some visualization) var numbers = [1,2,3,4,5]; Objects

Quick Review of JS syntax Mathematical Operators Control structures Functions (a chunk of reusable code) Comments

Javascript Tutorials Codecademy http://www.codecademy.com/tracks/javascript Other resources: Overview: http://javascript.crockford.com/survey.htmltutorial: http:// www.w3schools.com/js/ Do this! Tutorial:http://www.w3schools.com/js/ Reference book: The Definitive Guide, 6th Edition

Data Driven Document (D3) Downloading D3 - http://d3js.org Unzip the download and create a sub-folder called d3 in the folder you put your HTML/D3 code Include D3 in your HTML Include or directly place Your javascript/d3 code here

Learning D3 Before running D3 code, you need to start a local web server by doing the following: Start a command line window Change to the folder that you will place your HTML code Run the following command python m SimpleHTTPServer 8888 & Open your browser, and type the address: http://localhost:8888 Watch the online tutorial https://github.com/curran/screencasts/tree/gh-pages/introtod3 Also start to read chapter 5 and follow the examples