Parallel Coordinates and Scatter Plots

Slides:



Advertisements
Similar presentations
Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
Advertisements

Histograms! Histograms group data that is close together into “classes” and shows how many or what percentage of the data fall into each “class”. It.
Spreadsheets Ms. Scales. What is a Spreadsheet? 0 Spreadsheets 0 A document, or table that is made up of rows and columns. 0 Table 0 Columns and rows.
Bar Graphs and Line Graphs Lesson 7-4. Bar Graph A bar graph uses vertical or horizontal bars to display numerical information. Bar graphs can be used.
Frequency Tables Histograms. Frequency-How often something happens. Frequency Table- A way to organize data in equal intervals. Histogram- Shows how frequently.
Volume: The Shell Method Lesson 7.3. Find the volume generated when this shape is revolved about the y axis. We can’t solve for x, so we can’t use a horizontal.
COMPREHENSIVE Excel Tutorial 4 Working with Charts and Graphics.
Lesson Topic: Drawing the Coordinate Plane and Points on the Plane
Generation of atlas graphs & charts. Objective The major objective this training session is to equip participants with the knowledge and skills of creating.
How To Make Graphs in Microsoft Excel Outline Making Bar Graphs Making Scatter Plots – 1 series Making Scatter Plots – Multiple Series.
Instructor: Professor Cora Martinez, PhD Department of Civil and Environmental Engineering Florida International University.
AE4131 ABAQUS Lecture Part IV
STATISTICAL GRAPHS.
AutoCAD Basics The AutoCAD Interface Draw Tool Palette Pull-down Menus
06. Excel Charts. File -> Open -> 06b-datastart.xlsx.
Graphs Graphs are used to display data. They visually represent relationships between data. All graphs should have a title that identifies the variables.
Microsoft Word 2003 Word Processing. The Word 2003 Screen Menu Bar Title Bar Standard ToolbarFormatting Toolbar Vertical Scroll Bar Horizontal Scroll.
Sketchup Tutorial Designing for Construction. The Parts of a Wall.
Honors Physics Lab Journals Graphing. Lab Journal Entries  Number pages in consecutive order  Date all entries  Title all activities and investigations.
Working with Objects. Objectives Create an object Transform an object Arrange and lock an object Step and repeat an object Use Live Distribute Use the.
Getting Started with TI-Interactive. TI-Interactive TI-Interactive can be used to create a variety of graphs. Scatter Plots, Line Plots, Histograms, Modified.
Videos. Adding Videos to a Web Page Videos can make our pages more interesting and engaging. Most video-hosting services, such as YouTube, will provide.
Using Pro-Engineer to Create 3 Dimensional Shapes Kevin Manner Kevin Manner Tim Reynolds Tim Reynolds Thuy Tran Thuy Tran Vuong Nguyen Vuong Nguyen.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
Transparency 2 Click the mouse button or press the Space Bar to display the answers.
GRAPHS Bar, Line, Circle. Bar Graph A bar graph uses vertical or horizontal bars to display numerical information. Bar graphs can be used to compare amounts.
Bar Graphs Used for comparing separate groups. Axes X- axis: independent variable (what the scientist controls) Horizontal D – dependent R – responding.
CERTIPORT EXCEL PRACTICE. EDITING SORT/FILTER/FIND & REPLACE In the Summary worksheet, sort the data in descending order by Order Number, and then in.
2.2 ORGANIZING QUANTITATIVE DATA OBJECTIVE: GRAPH QUANTITATIVE DATA Chapter 2.
CRSD Technology Training Tony Judice. Quick Access Toolbar – can be modifiedSave as… allows you to save the file to a different location and also as an.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
Scientific Methods I Peter Popper plants prodigious plots of pea plants. Every week Peter measures the height of his pea plants and records the results.
Transparency 9 Click the mouse button or press the Space Bar to display the answers.
2.2 BAR GRAPHS. Bar Graphs Similar to histograms, but may be used for qualitative data as well as quantitative. Features:  Bars may be vertical or horizontal.
Notes Over 9.2 Graphing a Rational Function The graph of a has the following characteristics. Horizontal asymptotes: center: Then plot 2 points to the.
Microsoft Excel 2007 Noris Bt. Ismail Faculty of Information and Communication Technology Tel : (Ext 8408) BCOMP0101.
VBk Practical Mathematics and Microsoft Excel Course Line graphs WINCHESTER COLLEGE.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Bar Graphs and Line Graphs
What is a Function Expression?
SVG & DOM Manipulation via Javascript
Lab 03: Visualization with d3
CSS Layouts: Grouping Elements
Created by Stacey Wilson
Inserting and Working with Images
Data Visualizer.
Excel Part 4 Working with Charts and Graphics
Bar Graphs.
Excel Part 4 Working with Charts and Graphics
The Big Picture Objectives Goal Final delivery
به نام مهربانترین In the name of the most compassionate
Tips for Creating Graphs
Lab 04: Interactive Visualization W/ d3
Introduction to D3.js and Bar Chart in D3.js
Skills learned in Lab 1 Web GUI framework HTML tags and attributes
Tell a Story with the Data
بسم الله الرحمن الرحیم مركز بهمن استاندارد- مديريت ارزيابي و مانيتورينگ كيفي.
Volumes of Revolution The Shell Method
Graph Absolute Value Equations
Section 12.2 Implicitly Defined Curves and Cicles
CSc4730/6730 Scientific Visualization
Volume: The Shell Method
Otasuke GP-EX! Chapter 1 Menu Screen.
Label your paper DNA 1.
Exercise 1 Modify some parameters in the histogram.js and see what would happen (one by one) 20 in Line 2  in Line 3  in Line 15  .9.
Lesson 4-1 The Coordinate Plane.
Creating Bar Diagram.
Learn to graph points and lines on the coordinate plane.
Excel Part 4 Working with Charts and Graphics
Presentation transcript:

Parallel Coordinates and Scatter Plots

Programming Assignment 2 Redraw bars after sorting data function mouseDown() { …. //sorting bardata based on mouse clicking behaviors d3.selectAll(".bar").remove() d3.select(".xaxis").remove() redraw() } function draw(){ x.domain(bardata.map(function(d) { return d.name; })); y.domain([0, d3.max(bardata, function(d) { return d.value; })]); .

Another Approach More efficient, but less intuitive function mouseDown() { …. //sorting bardata based on mouse clicking behaviors var x0 = x.domain(bardata.map(function(d) { return d.name; })); d3.selectAll(".bar").attr("x", function(d) { return x0(d.name); }); d3.select(".xaxis").call(xAxis) }

Exercise 1 Work on your codes on Programming Assignment 2 Test the result of the more efficient approach Make sure you get the class names for bars and axis correct. Adding the following codes after the statement to select all bars and see what will happen .transition().duration(2000)

Circles in D3 Circle is a basic shape Required attributes cx: the x coordinate of the center cy: the y coordinate of the center r: radius .attr("cx", x) .attr("cy", y) .attr("r", r) Styles: stroke, stroke-width, fill

Exercise 2: Convert the previous bar chart into circles Adding styles x  cx, y cy height  r Adding styles .style("stroke", "green") .style("stroke-width", 5) .style("fill", "red") Does your sorting function work? If not, how to fix it?

Parallel Coordinates Very useful, but a little bit complicated Steps Each dimension is an axis (vertical) Values in each dimension should be appropriately mapped. Steps Read data Prepare for individual dimensions Their horizontal locations Their domains (min and max values) Draw individual polylines Go through each record Go through each dimension Find its value Get x (based on dimension) and y (based on value) coordinates Draw an SVG line (a path shape) Draw dimension lines and labels

Exercise 3 Copy the pc.html, pc.js, cars.csv files into your web space from \\up.ist.local\Courses\Spring2017\IST402\InClassExerci sesResources\Week5_ParallelCoordinates Load the page from my.up.ist.psu.edu Modify the codes to remove the weight dimension. How about more dimensions? Modify the codes to make the graph based on alphabetically ordered dimensions. Which graph do you like better?

Programming Assignment 3 The files to draw a scatter plot can also be found in this folder: \\up.ist.local\Courses\Spring2017\IST402\InClassExercisesRes ources\Week5_ParallelCoordinates You need to combine them together Layout of two graphs in the web page page Left: parallel coordinates; Right: for x-y plot Hint: Two coordinate systems: each x-axis is scaled to different region Use the same data set for two graphs Mouse behaviors mouseover and mouseout