Skip to content

Instantly share code, notes, and snippets.

View dxe4's full-sized avatar
🏃‍♂️
121.370125002420645918945532970499783

charalampos papaloizou dxe4

🏃‍♂️
121.370125002420645918945532970499783
View GitHub Profile
@dxe4
dxe4 / server.R
Created March 9, 2017 17:32 — forked from jcheng5/server.R
Shiny example: Diamonds Explorer
library(shiny)
library(ggplot2)
shinyServer(function(input, output) {
dataset <- reactive({
diamonds[sample(nrow(diamonds), input$sampleSize),]
})
output$plot <- renderPlot({
@dxe4
dxe4 / index.html
Created November 14, 2015 12:36 — forked from d3noob/.block
Map using leaflet.js and d3,js combined
<!DOCTYPE html>
<html>
<head>
<title>Leaflet and D3 Map</title>
<meta charset="utf-8" />
<link
rel="stylesheet"
href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css"
/>