search

What are ECharts?

Sep 14, 2017 am 09:59 AM
echarts

What are ECharts?

What are echarts?

echarts (Enterprise Charts, commercial-grade data charts) is an open source visualization library implemented using JavaScript. It can run smoothly on PCs and mobile devices and is compatible with most current browsers. (IE8/9/10/11, Chrome, Firefox, Safari, etc.). The bottom layer relies on the lightweight vector graphics library ZRender to provide intuitive, interactive, and highly customizable data visualization charts.

Rich visualization types

ECharts provides conventional line charts, bar charts, scatter charts, pie charts, K-line charts, and box charts for statistics Charts, maps, heat maps, line charts for geographic data visualization, relationship diagrams, treemaps, sunburst charts for relational data visualization, parallel coordinates for multidimensional data visualization, and funnel charts and dashboards for BI, and support A mix of images.

In addition to the built-in charts that contain rich functions, ECharts also provides custom series. You only need to pass in a renderItem function to map the data to any graphics you want. What’s even better is These can also be used in conjunction with existing interactive components without having to worry about other things.

You can download the build file containing all charts in the download interface. If you only need one or two charts, but the build file containing all charts is too large, you can also select the required chart type in the online build. Post custom build.

Multiple data formats can be used directly without conversion

ECharts built-in dataset attribute (4.0+) supports direct input of multiple data formats including two-dimensional tables, key-value, etc. Format data sources, mapping from data to graphics can be completed by simply setting the encode attribute. This method is more in line with visual intuition, eliminating the steps of data conversion in most scenarios, and multiple components can share a copy data without cloning.

In order to cope with the display of large amounts of data, ECharts also supports inputting data in TypedArray format. TypedArray can occupy less memory when storing large amounts of data, and its GC-friendly features can also greatly improve visual applications. performance.

Front-end display of tens of millions of data

Through incremental rendering technology (4.0+) and various meticulous optimizations, ECharts can display tens of millions of data , and at this data level, smooth zoom and pan interactions can still be performed.

Even if binary storage is used for tens of millions of geographical coordinate data, it will take up hundreds of MB of space. Therefore, ECharts also provides support for streaming loading (4.0+). You can use WebSocket or load the data in chunks, and render as much as you load! No need to wait long for all data to load before drawing.

What are ECharts?

What are ECharts?

Mobile optimization

ECharts has made detailed optimizations for mobile interaction. For example, on a small mobile screen, it is suitable to use your fingers to zoom and pan in the coordinate system. On the PC side, you can also use the mouse to zoom (use the mouse wheel), pan, etc. in the picture.

The fine-grained modularization and packaging mechanism allows ECharts to have a small size on the mobile terminal. The optional SVG rendering module makes the memory usage of the mobile terminal no longer stretched.

Multiple rendering solutions, cross-platform use!

ECharts supports rendering charts in the form of Canvas, SVG (4.0+), and VML. VML is compatible with lower versions of IE, SVG makes mobile terminals no longer worry about memory, and Canvas can easily handle the display of large amounts of data and special effects. Different rendering methods provide more choices, allowing ECharts to perform better in various scenarios.

In addition to PC and mobile browsers, ECharts can also cooperate with node-canvas for efficient server-side rendering (SSR) on node. Starting from 4.0, we have also cooperated with the WeChat applet team to provide ECharts adaptation to the applet!

Enthusiastic contributors in the community have also provided us with a wealth of other language extensions, such as Python's pyecharts, R language's recharts, Julia's ECharts.jl and so on.

We hope that neither platform nor language will become a limitation for everyone to use ECharts to achieve visualization!

In-depth interactive data exploration

Interaction is an important means to discover information from data. "Overview first, zoom and filter to view details as needed" is the basic requirement for data visualization interaction.

ECharts has been moving forward on the road of interaction. We provide out-of-the-box interactive components such as legends, visual mapping, data area zoom, tooltip, and data brush selection, which can filter data in multiple dimensions. Interactive operations such as view zoom and display details.

Multi-dimensional data support and rich visual coding methods

ECharts 3 began to strengthen support for multidimensional data. In addition to adding common multi-dimensional data visualization tools such as parallel coordinates, for traditional scatter plots, etc., the incoming data can also be multi-dimensional. With the rich visual coding provided by the visual mapping component visualMap, data of different dimensions can be mapped to different visual channels such as color, size, transparency, brightness, etc.

Dynamic Data

ECharts is driven by data, and changes in data drive changes in chart display. Therefore, the implementation of dynamic data has become extremely simple. You only need to obtain the data and fill in the data. ECharts will find the difference between the two sets of data and then express the changes in the data through appropriate animations. With the timeline component, data information can be expressed in a higher time dimension.

Gorgeous special effects

ECharts provides eye-catching special effects for the visualization of line data, point data and other geographical data.

Achieve more powerful and gorgeous three-dimensional visualization through GL

Want to achieve three-dimensional visualization effects in VR and large-screen scenes? We provide ECharts GL based on WebGL. You can use ECharts GL to draw three-dimensional histograms of the earth, buildings, and population distribution just as easily as using ordinary ECharts components. On this basis, we also provide different levels of pictures. Configuration items, you can get an artistic picture with just a few lines of configuration!

What are ECharts?

What are ECharts?

What are ECharts?

What are ECharts?

##Accessibility (4.0 +)

When we talk about "visualization", we often naturally associate it with "seeing", but in fact this is one-sided. W3C has developed the Accessible Rich Internet Applications Suite (WAI-ARIA), which is dedicated to making web content and web applications accessible to more people with disabilities.

ECharts 4.0 complies with this specification and supports automatic and intelligent generation of descriptions based on chart configuration items, so that blind people can understand the content of the chart with the help of a reading device, making the chart accessible to more people!

For more related knowledge, please visit

PHP Chinese website! !

The above is the detailed content of What are ECharts?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
The Continued Use of PHP: Reasons for Its EnduranceThe Continued Use of PHP: Reasons for Its EnduranceApr 19, 2025 am 12:23 AM

What’s still popular is the ease of use, flexibility and a strong ecosystem. 1) Ease of use and simple syntax make it the first choice for beginners. 2) Closely integrated with web development, excellent interaction with HTTP requests and database. 3) The huge ecosystem provides a wealth of tools and libraries. 4) Active community and open source nature adapts them to new needs and technology trends.

PHP and Python: Exploring Their Similarities and DifferencesPHP and Python: Exploring Their Similarities and DifferencesApr 19, 2025 am 12:21 AM

PHP and Python are both high-level programming languages ​​that are widely used in web development, data processing and automation tasks. 1.PHP is often used to build dynamic websites and content management systems, while Python is often used to build web frameworks and data science. 2.PHP uses echo to output content, Python uses print. 3. Both support object-oriented programming, but the syntax and keywords are different. 4. PHP supports weak type conversion, while Python is more stringent. 5. PHP performance optimization includes using OPcache and asynchronous programming, while Python uses cProfile and asynchronous programming.

PHP and Python: Different Paradigms ExplainedPHP and Python: Different Paradigms ExplainedApr 18, 2025 am 12:26 AM

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP and Python: A Deep Dive into Their HistoryPHP and Python: A Deep Dive into Their HistoryApr 18, 2025 am 12:25 AM

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

Choosing Between PHP and Python: A GuideChoosing Between PHP and Python: A GuideApr 18, 2025 am 12:24 AM

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

PHP and Frameworks: Modernizing the LanguagePHP and Frameworks: Modernizing the LanguageApr 18, 2025 am 12:14 AM

PHP remains important in the modernization process because it supports a large number of websites and applications and adapts to development needs through frameworks. 1.PHP7 improves performance and introduces new features. 2. Modern frameworks such as Laravel, Symfony and CodeIgniter simplify development and improve code quality. 3. Performance optimization and best practices further improve application efficiency.

PHP's Impact: Web Development and BeyondPHP's Impact: Web Development and BeyondApr 18, 2025 am 12:10 AM

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

How does PHP type hinting work, including scalar types, return types, union types, and nullable types?How does PHP type hinting work, including scalar types, return types, union types, and nullable types?Apr 17, 2025 am 12:25 AM

PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values ​​and handle functions that may return null values.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools