Code Monkey home page Code Monkey logo

spiralheatmaps's Introduction

Spiral Heat Maps

R bindings for a D3 visualization inspired by:

https://bl.ocks.org/bricedev/8aaef92e64007f882267

Dependencies

  • d3v3

  • c3

  • tidyverse

  • htmlwidgets

Installation

devtools::install_github("hbnordin2/spiralHeatMaps")

Example

library(tidyverse)
library(spiralHeatMaps)

pump <- read_csv("name,value
A,.08167
B,.01492
C,.02782
D,.04253
E,.12702
F,.02288
G,.02015
H,.06094
I,.06966
J,.00153
K,.00772
L,.04025
M,.02406
N,.06749
O,.07507
P,.01929
Q,.00095
R,.05987
S,.06327
T,.09056
U,.02758
V,.00978
W,.02360
X,.00150
Y,.01974
Z,.00074")

polarBarChart(pump)

spiralheatmaps's People

Contributors

hbnordin2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spiralheatmaps's Issues

Upgrade to d3 v4

Support for d3v3 is starting to get thin, we should port over to d3 v4.

Is 3.4.3 really essential for this package?

Hi,

Could you high light the dependency of base R and why it mandates 3.4.3 and beyond. And if there's no dependency, change it to suggest instead of depends?
I'd like to try out this package and found the below error due to version constraint.

> devtools::install_github("hbnordin2/spiralHeatMaps")
Downloading GitHub repo hbnordin2/spiralHeatMaps@master
from URL https://api.github.com/repos/hbnordin2/spiralHeatMaps/zipball/master
Installing spiralHeatMaps
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  '/private/var/folders/72/j1qmrjt11cg7tsg0byvjkjh00000gp/T/Rtmp0LukhG/devtools15a18106d6329/hbnordin2-spiralHeatMaps-da7c016'  \
  --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests 

ERROR: this R is version 3.4.1, package 'spiralHeatMaps' requires R >=  3.4.3
Installation failed: Command failed (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.