Data Visualization with G2
Table of Contents
- Purpose
- What is data visualization
- Stage of data visualization
- G2’s positioning and planning
Purpose
I have been engaged in data visualization for 2 or 3 years, and I have found that most people’s understanding of data visualization is to draw charts. Therefore, I want to write some articles about visualization framework design. These articles provide a complete set of design ideas and implementation details of the visualization framework. I hope that everyone can have a better understanding of visualization and better use visualization in business.
What is data visualization
Data visualization uses data and graphics technology to map information from data space to visual space. It is an interdisciplinary subject that spans the fields of computer graphics, data science, natural science and human-computer interaction.
The above domain model is too complex. We pay more attention to data and graphics in data visualization work, thus simplifying the domain model of data visualization:
- Data: Focus on solving data collection, cleaning, preprocessing, analysis, and mining.
- Graphics: Focus on receiving, extracting information, processing and transformation, pattern recognition, storage and display of optical Visual framework design-prefaces.
- Visualization: Focus on converting data into graphics and performing interactive processing
Current knowledge and areas of knowledge a data visualization worker needs to master:
Data visualization stage
Judging from the data visualization tools on the market, data visualization is divided into several stages:
- Data statistics charting
- Display of data results
- Visualization of data analysis process
- Visualization of virtual reality at VR/AR stage
Data statistics charting
At this stage, traditional statistical charts are used to display data. The representative works are highcharts, echarts and other chart libraries. The advantages of these frameworks are:
- The most mature visualization tool, the charts included are common charts, easy for users to understand and developers to use
- Low development cost and low requirements on graphics technology and data knowledge
The disadvantages are equally obvious:
- Complex configuration items, poor scalability, and single chart performance
- Narrow scope of application, poor support for tree and network structures; display of data dimensions and data volume are limited
Data result display tool
As the data business has higher and higher requirements for visualization, the scope of visualization is no longer limited to statistical charts. The business needs to display more dimensions of data and more diverse graphic display data. This requires the business side to customize charts according to their own needs. The tools at this stage mainly include frameworks such as d3.js and rapheal. These frameworks provide more detailed graphics tools and more graphics algorithms. The advantages of this type of framework are:
- Powerful functions, strong interactivity, and wide application range
- Integrate a large number of graphics algorithms and visualization algorithms to reduce the cost of complex charts
- Strong community and lots of examples
There are also some common problems:
- Requires fine-grained operation graphics, high learning and development costs
- Many personalized requirements and poor reusability
Data analysis visualization tool
The previous tools are all based on a priori models and have been used to detect known patterns and laws. Automatic processing of complex, heterogeneous, and large-scale data often fails, so it is necessary to visualize the data analysis process and better explore Patterns and finding problems. The best visualization tools for data analysis currently on the market are tableau, ggplot2 in R language, etc. The advantages of these products:
- Closely related to data analysis, integrating a large number of data-related algorithms
- Can visually display the intermediate links of data analysis
Disadvantages:
- Highly professional, not suitable for beginners
Visualization of virtual reality at VR/AR stage
Exploring
G2
The characteristics of the current supporting business determine the content of our data visualization work:
- Basic statistical charts still account for a large proportion of visualization, but development suffers from the incompleteness of various chart libraries, inconsistent data input and output, and cumbersome syntax, resulting in poor experience and low development efficiency.
- More and more businesses are beginning to have more dimensional data display needs. Traditional statistical charts can no longer meet the needs, and there are more and more visual customization needs
- Online data analysis business has begun to rise, and traditional PC tools cannot meet the demand
We started the development of G2 2 years ago. The positioning of G2:
- Meet existing statistical chart needs, provide a set of extremely simple graphics syntax, and complete the mapping of data from data space to graphics space.
- Provides extended syntax for various graphics, supports heterogeneous and complex data types, and is a powerful set of visualization tools
- Explore the application of data technology in visualization, using online data analysis as the entrance to provide visualization capabilities for data analysis
G2 roadmap
G2 has completed the development of 1.0, 1.1, and 1.2. The first few versions have completed the following content:
Overall roadMap:
- antV is a set of our practice specifications in supporting visual business, which is used to help users use appropriate charts in appropriate scenarios
- G drawing library is the bottom layer of drawing for our data visualization and needs to be expanded in 3D, animation and interaction
- G2 1.x has been developed, implementing a set of simple and easy-to-use graphical syntax to meet the needs of statistical charts.
- G2 2.x is under development. It is hoped that the details of graphics drawing can be shielded using data and graphics mapping, so that users can customize personalized visualization needs. The graphics that D3 can draw should be able to be implemented using simple syntax.
- For the functions of G2 3.x, I have only tried simple regression, fitting and other data algorithms before. Later, I need to combine it with the data department to construct an online version of the data analysis tool.
Conclusion
Several website addresses:
- g2: https://g2.alipay.com/
- antV: https://antv.alipay.com/
- github: https://github.com/antvis
We will publish a series of articles on visual framework design in the future, describing the overall design ideas of G2 and the design details of various grammatical elements. Everyone is welcome to participate in our visualization work.

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

HTMLisaspecifictypeofcodefocusedonstructuringwebcontent,while"code"broadlyincludeslanguageslikeJavaScriptandPythonforfunctionality.1)HTMLdefineswebpagestructureusingtags.2)"Code"encompassesawiderrangeoflanguagesforlogicandinteract

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Dreamweaver Mac version
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.