Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
R scatter plot htmlwidget based on D3.js
Basic Info
- Host: GitHub
- Owner: juba
- Language: JavaScript
- Default Branch: master
- Homepage: https://juba.github.io/scatterD3/
- Size: 9.42 MB
Statistics
- Stars: 161
- Watchers: 10
- Forks: 22
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
ScatterD3
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.
Features
Here is a small preview of what you will get :

The visual guide gives a list of features and examples.
Installation
Install from CRAN :
r
install.packages("scatterD3")
Or from Github for the latest development version :
r
remotes::install_github("juba/scatterD3")
Usage
Quick example of the scatterD3 function based on the mtcars dataset :
r
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.
scatterD3 provides a built-in SVG export of the current widget view. As an HTML widget, you can also include it in an Rmarkdown HTML document while keeping its interactive features.
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.
You can check the sample scatterD3 shiny app and the visual guide for a better understanding of the different arguments.
Development notes
This package uses packer to manage JavaScript source code and dependencies. If you want to modify it, you'll need a working installation of Node.js.
After cloning this repository, run the following in a terminal at the project root :
sh
npm install --production=false
Then, if you modify the JavaScript code in srcjs, you'll have to run the following command to bundle and update the widget JavaScript code :
r
packer::bundle_dev()
If you want to ship a minimized production version, use :
r
packer::bundle_prod()
Credits
This package has been made possible by :
- Mike Bostock's incredible d3.js library and documentation
- htmlwidgets packages
- John Coene's packer package
- Susie Lu's d3-legend module
- Rob Moore's article on reusable d3.js charts
- Speros Kokenes' d3 lasso plugin
- Evan Wang's d3-labeler plugin
Owner
- Name: Julien Barnier
- Login: juba
- Kind: user
- Location: Villeurbanne, France
- Repositories: 61
- Profile: https://github.com/juba
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Julien Barnier | j****n@n****g | 636 |
| dependabot[bot] | 4****] | 6 |
| timelyportfolio | k****l@t****m | 4 |
| Fong Chun Chan | f****n@g****m | 3 |
| detule | o****i@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 87
- Total pull requests: 11
- Average time to close issues: 2 months
- Average time to close pull requests: 13 days
- Total issue authors: 39
- Total pull request authors: 5
- Average comments per issue: 2.99
- Average comments per pull request: 0.45
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 6
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 4 minutes
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
- juba (17)
- Tixierae (7)
- GiuseppeDiGuglielmo (5)
- romanhaa (5)
- tinyheero (5)
- TimBock (3)
- joelgombin (3)
- sharvarinarendra (2)
- zhitkovk (2)
- ScottStetkiewicz (2)
- neuro30 (2)
- 1rdsk1 (2)
- nFrechen (2)
- zji90 (2)
- Nicolabo (2)
Pull Request Authors
- dependabot[bot] (7)
- juba (2)
- tinyheero (1)
- timelyportfolio (1)
- harveyl888 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 706 last-month
- Total docker downloads: 54,102
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 9
(may contain duplicates) - Total versions: 20
- Total maintainers: 1
cran.r-project.org: scatterD3
D3 JavaScript Scatterplot from R
- Homepage: https://juba.github.io/scatterD3/
- Documentation: http://cran.r-project.org/web/packages/scatterD3/scatterD3.pdf
- License: GPL (≥ 3)
-
Latest release: 1.0.1
published over 4 years ago
Rankings
Maintainers (1)
conda-forge.org: r-scatterd3
- Homepage: https://juba.github.io/scatterD3/
- License: GPL-3.0-or-later
-
Latest release: 1.0.1
published over 4 years ago
Rankings
Dependencies
- shiny * enhances
- digest * imports
- ellipse * imports
- htmlwidgets * imports
- knitr * suggests
- rmarkdown * suggests
- 181 dependencies
- css-loader ^6.2.0 development
- style-loader ^3.2.1 development
- webpack ^5.48.0 development
- webpack-cli ^4.7.2 development
- webpack-merge ^5.8.0 development
- d3 ^7.1.1
- actions/checkout v3 composite
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite