scatterD3

R scatter plot htmlwidget based on D3.js

Github星跟蹤圖

scatterD3 is an HTML R widget for interactive scatter plots visualization.
It is based on the htmlwidgets R package and on
the d3.js javascript library.

CRAN Downloads
Travis-CI Build Status
CRAN_Status_Badge

Features

Here is a small preview of what you will get :

example

  • The
    visual guide gives a list of features and examples.
  • The sample shiny app allows to live test the package features and its shiny integration.

Installation

Install latest stable release from CRAN :

install.packages("scatterD3")

Or from Github for the latest, bleeding edge, full of bugs version :

devtools::install_github("juba/scatterD3")

Usage

Quick example of the scatterD3 function based on the mtcars dataset :

mtcars$names <- rownames(mtcars)
scatterD3(data = mtcars, x = wt, y = mpg, lab = names,
          col_var = cyl, symbol_var = am,
          xlab = "Weight", ylab = "Mpg", col_lab = "Cylinders",
          symbol_lab = "Manual transmission")

See the visual guide for a step-by-step guide and details about the different function arguments.

Shiny integration

Like every R HTML widget, shiny integration is straightforward. But as a D3
widget, scatterD3 is updatable : changes in settings or data can be
displayed via smooth transitions instead of a complete chart redraw, which can
provide interesting visual clues.

Furthermore, scatterD3 provides some additional handlers and callback hooks
for a more complete JavaScript interactivity and integration.

The sample scatterD3 shiny app allows
you to see the different features described here. You
can check its source code on GitHub
and the visual guide for
a better understanding of the different arguments.

Credits

This package has been made possible by :

主要指標

概覽
名稱與所有者juba/scatterD3
主編程語言JavaScript
編程語言R (語言數: 3)
平台
許可證
所有者活动
創建於2015-06-09 08:23:20
推送於2024-08-30 10:53:23
最后一次提交2024-08-30 12:50:49
發布數16
最新版本名稱1.0.1 (發布於 )
第一版名稱0.1.1 (發布於 )
用户参与
星數161
關注者數10
派生數22
提交數691
已啟用問題?
問題數87
打開的問題數3
拉請求數10
打開的拉請求數0
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?