Skip to content

Instantly share code, notes, and snippets.

@dogobox
dogobox / README.md
Created April 29, 2016 10:08 — forked from enjalot/README.md
dots on a map: setup

This is a simple setup of Leaflet (via Mapbox) with d3 to show dots on a map. This can serve as a base for many interesting geographically based visualizations

Nice overview of using d3 + Leaflet. I found this slightly simpler to use than Mike's classic post.

Built with blockbuilder.org

@dogobox
dogobox / README.md
Created April 29, 2016 10:08 — forked from enjalot/README.md
dots on a map-gl: circle
@dogobox
dogobox / README.md
Created April 29, 2016 10:07 — forked from enjalot/README.md
mapbox-gl: updating line
@dogobox
dogobox / README.md
Created April 29, 2016 09:40 — forked from enjalot/README.md
dots on a map: geocoding
@dogobox
dogobox / README.md
Created April 29, 2016 09:39 — forked from enjalot/README.md
dots on a map: The Counted
@dogobox
dogobox / README.md
Created April 29, 2016 09:32 — forked from enjalot/README.md
town population changes
@dogobox
dogobox / README.md
Created April 26, 2016 21:14 — forked from syntagmatic/README.md
Nutrient Parallel Coordinates II
@dogobox
dogobox / README.md
Last active April 26, 2016 08:35 — forked from mbostock/.block
Bullet Charts

Designed by Stephen Few, a bullet chart “provides a rich display of data in a small space.” A variation on a bar chart, bullet charts compare a given quantitative measure (such as profit or revenue) against qualitative ranges (e.g., poor, satisfactory, good) and related markers (e.g., the same measure a year ago). Layout inspired by Stephen Few. Implementation based on work by Clint Ivy, Jamie Love of N-Squared Software and Jason Davies. The "update" button randomizes the values slightly to demonstrate transitions.

@dogobox
dogobox / index.html
Last active April 26, 2016 11:08 — forked from timelyportfolio/index.html
rCharts + PortfolioAnalytics | dimple sample
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<script src='http://d3js.org/d3.v3.min.js' type='text/javascript'></script>
<script src="http://dimplejs.org/dist/dimple.v2.1.6.min.js"></script>
<style>
.rChart {
@dogobox
dogobox / README.md
Last active April 26, 2016 08:53 — forked from timelyportfolio/README.md
parcoords + d3scatter linked by crosstalk

Built with blockbuilder.org

The next phase in htmlwidgets will be the ability to communicate with or without Shiny. Joe Cheng from RStudio has demonstrated this with d3scatter using crosstalk. This example extends Joe's example and experiments with d3scatter + parcoords. Currently, the experimental crosstalk-version of parcoords is only wired to send its brushed selection and not receive.

For another example, see Carson Sievert's plotly experiments.

Code to Replicate

# devtools::install_github("dogobox/crosstalk")