Data Visualization-Processing [1]: Visualization-processing

Source: Internet
Author: User

Data Visualization-Processing [1]: Visualization-processing

Before Processing, let's talk about data visualization.


Data Visualization-as the name suggests, it is a research on the visual representation of data. It presents data in other ways to make it more intuitive,

It is clearer and easier to analyze and process. common expressions such as wide-used histograms, tree charts, line charts, and pie charts are used in word.


The basic idea of data visualization technology is to represent each data item in the database as a single element. A large number of datasets constitute data.

Image, and each attribute value of the data is expressed in the form of multi-dimensional data. You can observe the data from different dimensions

More in-depth observation and analysis.


We know that it is difficult for people to analyze the characteristics of a series of numbers and make people feel confused.

Visual fatigue. To solve this problem, using Processing for data analysis makes it a good choice to "speak" the data.


Processing is a language and a tool for data visualization.

Processing is a revolutionary and forward-looking emerging computer language. It introduces programming languages in the Electronic Art environment,

Introduce the concept of electronic art to programmers. It is an extension of the Java language and supports many existing Java language architectures.

Syntax is much simpler and has many considerate and user-friendly designs. Processing can be used on Windows and MAC

OS x, mac OS 9, Linux, and other operating systems.


Processing features easy to learn and easy to learn. It does not require strong programming experience and can communicate with single-chip microcomputer (such as Arduino ).

Information (based on the serial port), and then draw the data obtained from the serial port, you can also draw 3D graphics to achieve brilliant results. It is developed by MIT

School (MIT) Media Lab (M. I .T. Media Laboratory) Its aesthetics and computing team (Aesthetics & Computation Group)

MemberCasey ReasAndBen FryWrite, programming language inspired by Arduino (do not know Arduino can view my Blog), and Arduino

Similar:



The picture on the left is Processing IDE, and the picture on the right is Arduino IDE, which is very similar.

This section describes a small work Diagram Based on Processing:


Place the mouse in the black area, and the cube can capture the movement of the mouse and parse it into data and then move it, just Processing

As long as you are creative and have idea, you can achieve a variety of magical effects!

Code:

/** * Mixture * by Simon Greenwold.  *  * Display a box with three different kinds of lights.  */void setup() {  size(640, 360, P3D);  noStroke();}void draw() {  background(0);  translate(width / 2, height / 2);    // Orange point light on the right  pointLight(150, 100, 0, // Color             200, -150, 0); // Position  // Blue directional light from the left  directionalLight(0, 102, 255, // Color                   1, 0, 0); // The x-, y-, z-axis direction  // Yellow spotlight from the front  spotLight(255, 255, 109, // Color            0, 40, 200, // Position            0, -0.5, -0.5, // Direction            PI / 2, 2); // Angle, concentration    rotateY(map(mouseX, 0, width, 0, PI));  rotateX(map(mouseY, 0, height, 0, PI));  box(150);}


Later.

Official Processing Website: http://processing.org/

Share a Processing Getting Started Guide for beginners: http://pan.baidu.com/s/1qW17mB6


How to create a data visualization chart from scratch?

1. visualization is a bridge between users and data, and a means for us to show our results to users. Therefore, visualization is not a very special research field, it can be widely used and created. As a non-computer professional, you can use existing programs and software to draw clear and intuitive charts based on the characteristics of your data. Excel, SPSS, and Google Public Data. Some blogs will also introduce commonly used visualization tools, such as 22 free data visualization and analysis tool recommendations. 2. If you have a certain programming foundation, you can try to use some programming or mathematical tools to draw custom charts, such as Mathematica, R, and ProtoType. 3. Further, you can use programming languages to write your own visualization system. In this way, you will be free to use space and control capabilities, data processing, forms of expression, InterAction methods, and so on. 4. For more information, see some books of Edward Tufte.

What should I do if I fall in love with someone who doesn't love myself?

There may be two answers to this question:
1. Since you love him, be prepared to sacrifice everything on your own. Including preparing for him to keep his guard all his life.
2. If you love him not that deep, maybe it is more appropriate to change to someone who loves you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.