Learn R Programming

Apache ECharts version 6 for R.

Website |

Get Started

Note

The Github version just underwent a change from ECharts.js version 4 to version 6. Please use the stable CRAN version.

Example

Basic example.

library(echarts4r)

e_chart(cars, speed) %>% 
  e_scatter(dist, symbolSize = 10)

Get it

Stable version from CRAN.

install.packages("echarts4r")

The development version from Github.

# install.packages("remotes")
remotes::install_github("JohnCoene/echarts4r")

Code of Conduct

Please note that the echarts4r project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('echarts4r')

Monthly Downloads

6,314

Version

0.5.0

License

Apache License (>= 2.0)

Issues

Pull Requests

Stars

Forks

Maintainer

David Munoz Tord

Last Published

February 10th, 2026

Functions in echarts4r (0.5.0)

e_datazoom

Data zoom
e_contour

Contour chart
e_common

General options
e_format_matrix_axis

Format Matrix Axis
e_funnel

Funnel
e_color

Color
e_doughnut

Segmented Doughnut
e_dispatch_action_p

Dispatch Action
e_facet

Facet
e_execute

Send
e_flow_gl

Flow GL
e_flip_coords

Flip coordinates
e_country_names

Country names
e_gauge

Gauge
e_correlations

Correlation
e_geo

Geo
e_grid

Grid
e_globe

Globe
e_grid_3d

Grid
e_draw_p

Draw
e_geoFacet

Create geoFacet Echart
e_draft

Draft
e_geo_3d

Geo 3D
e_heatmap

Heatmap
e_color_range

Color range
e_hide_grid_lines

' Hide Grid Lines
e_heatmap_matrix

Generate heatmap for matrix
e_get_data

Get data
e_insert_data

Insert binded data
e_line

Line
e_lineRange

Line range chart
e_jitter

Axis Jitter
e_get_zr

Blank Area
e_legend

Legend
e_labels

Format labels
e_lines

Lines
e_matrix_addChart

Add new chart to matrix chart
e_mark_p

Mark
e_matrix

Generate Matrix
e_list

List
e_locale

Locale
e_map_register

Register map
e_liquid

Liquid fill
e_lines_gl

Lines WebGL
e_modularity

Modularity
e_merge

Merge options in chart, used in e_mark
e_matrix_corner

Fill Matrix Axis Corner
e_matrix_parent

Generate Matrix Axis Parents
e_matrix_raw

Generate Matrix
e_polar

Polar
e_pie_matrix

Generate pie chart for matrix
e_resize

Resize
e_remove

Remove Serie
e_parallel

Parallel
e_morph

Morphing
e_radar

Radar
e_pie

Pie
e_pictorial

Pictorial
e_radar_opts

Radar axis
e_scatter_gl

Scatter GL
e_scatter_matrix

Generate scatter point for matrix
e_stage

Stage chart
e_single_axis

Single Axis
e_sankey

Sankey
e_scatter_3d

Scatter 3D
e_step

Step
e_sunburst

Sunburst
e_river

River
e_restore

Restore Toolbox
e_violin

Violin chart
e_visual_map

Visual Map
e_title_matrix

Generate Chart Titles for Matrix
e_visual_map_range

Select Visual Map
e_surface

Surface
e_treemap

Treemap
e_text_style

Text style
e_tree

Tree
e_title

Title
e_utc

Use UTC
e_graph

Graph
flights

2011 flight path data
e_inspect

To & From JSON
e_zoom

Zoom
echarts4rBoxOutput

Box Output
echarts4r-shiny

Shiny bindings for echarts4r
echarts4rBox

Box
e_format_axis

Formatters
e_error_bar

Error bar
e_zigzag

Axis ZigZags
highlight_action

Highlight & Downplay
legend_action

Legend
e_highlight_p

Highlight & Downplay Proxy
e_lines_3d

Lines 3D
graph_action

Nodes Adjacency
e_leaflet

Leaflet
e_graphic_g

Graphic
e_histogram

Histogram & Density
if_style_is_not_none

Determine if first element is none, then no style The first element could be NULL, a style, or a vector so we must account for all these. style = NULL style = list(lineWidth = 5) style = list(shape = list(width = 100))
init

Initialise
e_show_loading

Loading
mapbox

Mapbox
map_actions

Map Actions
radius_axis

Radius axis
nesting

Add nested data
e_mark_point

Mark point
e_map

Choropleth
pie_action

Select & Unselect Pie
e_focus_adjacency_p

Node Adjacency
population

World population data
e_scatter

Scatter
renderEcharts4rBox

Render box
reexports

Objects exported from other packages
tooltip_action

Show & Hide Tooltip
e_toolbox_feature

Toolbox
e_showtip_p

Tooltip Proxy
e_theme

Themes
timeline-opts

Timeline
e_lm

Smooth
airports

2011 airport data
e_axis_3d

Axis 3D
band2

Area bands
band

Confidence bands
angle_axis

Angle axis
e_append1_p

Append Proxy
callbacks

Callbacks
e_axis

Axis
e_annotations

Add annotations to a chart
e_animation

Animation
e_aria

Aria
e_area

Area
connections

Connect charts
buildings_sample_json

Buildings sample set in json format
buildings_sample

Buildings sample set
e_axis_stagger

Stagger Axis Labels
e_bar

Bar and Line chart
e_boxplot

Boxplot
e_brush

Brush
e_calendar

Calendar
e_button

Button
e_tooltip

Tooltip
e_candle

Candlestick
e_capture

Capture event
e_axis_labels

Axis Labels
e_dims

Dimensions
e_barRange

Bar range chart
e_bar_3d

Bar 3D
e_axis_pointer

Axis pointer
e_chord

Chord
e_cloud

Wordcloud