Skip to content

Instantly share code, notes, and snippets.

@rakmial
rakmial / bbsummaries.csv
Last active Dec 6, 2016
Dimple Interactive Baseball Chart
View bbsummaries.csv
summary height handedness avg HR summary.type
1 68 L median 68 L 0.2475 9.5 median
2 68 R median 68 R 0.2465 14.5 median
3 69 L median 69 L 0.257 16 median
4 69 R median 69 R 0.239 9 median
5 70 L median 70 L 0.2595 24.5 median
6 70 R median 70 R 0.249 27 median
7 71 L median 71 L 0.253 30 median
8 71 R median 71 R 0.249 21 median
9 72 L median 72 L 0.2515 33 median
View bbsummaries.csv
summary height handedness avg HR summary.type
1 68 L median 68 L 0.2475 9.5 median
2 68 R median 68 R 0.2465 14.5 median
3 69 L median 69 L 0.257 16 median
4 69 R median 69 R 0.239 9 median
5 70 L median 70 L 0.2595 24.5 median
6 70 R median 70 R 0.249 27 median
7 71 L median 71 L 0.253 30 median
8 71 R median 71 R 0.249 21 median
9 72 L median 72 L 0.2515 33 median
@rakmial
rakmial / index.html
Last active Sep 23, 2016
Batting Average Histogram
View index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<body>
<title>Batting Averages</title>
<style>
.d3-tip {
line-height: 0.5;
font-variant: small-caps;
font-size: 12pt;
padding: 12px;