Skip to content

Instantly share code, notes, and snippets.

View dhoboy's full-sized avatar

Daniel dhoboy

View GitHub Profile
@dhoboy
dhoboy / README.md
Last active August 29, 2015 14:12
Song Tea and Ceramics Map

This is a map of Song Tea and Ceramics's 2014 tea collection. Click each marker on the map to see where the teas are from. Tea collection information taken from their website. This map was made with d3 and leaflet.

@dhoboy
dhoboy / index.html
Created January 13, 2015 06:01
Basic scatterplot
<html>
<head>
<script src="http://d3js.org/d3.v3.js"></script>
</head>
<body>
<script>
var dataset = [
[5, 20], [480, 90], [250, 50], [100, 33], [330, 95],
[410, 12], [475, 44], [25, 67], [85, 21], [220, 88],
@dhoboy
dhoboy / index.html
Created January 14, 2015 01:46
More interesting Scatterplot
<html>
<head>
<script src="http://d3js.org/d3.v3.js"></script>
<style>
.axis path,
.axis line {
fill: none;
stroke: green;
stroke-width: 3px;
shape-rendering: crispEdges;
@dhoboy
dhoboy / README.md
Last active August 29, 2015 14:14
Letter Frequency Bar Chart

This is the result of me following along to Let's Make a Bar Chart, III. Bar chart shows the frequency of letters in the English language.

@dhoboy
dhoboy / README.md
Last active August 29, 2015 14:16
Kai drawing paths

Forked from Syntagmatic. Working on visualizing 80,000+ entry chromosome dataset for Stephen Sheng.

@dhoboy
dhoboy / chr1-17.csv
Last active August 29, 2015 14:16
what I've been working on all night
We can't make this file beautiful and searchable because it's too large.
#name,chrom,strand,txStart,txEnd
uc001aaa.3,chr1,+,11873,14409
uc010nxr.1,chr1,+,11873,14409
uc010nxq.1,chr1,+,11873,14409
uc009vis.3,chr1,-,14361,16765
uc009vjc.1,chr1,-,16857,17751
uc009vjd.2,chr1,-,15795,18061
uc009vit.3,chr1,-,14361,19759
uc009viu.3,chr1,-,14361,19759
uc001aae.4,chr1,-,14361,19759
@dhoboy
dhoboy / README.MD
Last active August 29, 2015 14:16
Asia Map

China, Taiwan, Hong Kong, Japan, N. Korea, S. Korea, India, Bhutan, Nepal, Bangladesh, Myanmar, Thailand, Laos, Cambodia, Vietnam each with a different color. Colors by Color Brewer. Map made with d3. Thanks to Mike Bostock for the great Let's Make a Map tutorial.

@dhoboy
dhoboy / README.md
Last active August 29, 2015 14:16
Jody's Journey: destinations

Jody from Tap Twice Tea's destinations on his current trip across Asia. Map made with d3. Thanks Mike Bostock for the great Let's Make a Map tutorial.

@dhoboy
dhoboy / README.md
Last active August 29, 2015 14:16
Jody's Journey: final map
@dhoboy
dhoboy / README.md
Created March 17, 2015 02:09
This works

Chromosome subset viewer with sample data. Object constancy is maintained each time the page loads. Page loops through random subsets of the data. Click to stop. Refresh page to start again. Designed as a way to discover new trends in a 80,000+ entry dataset.