Skip to content

Instantly share code, notes, and snippets.

View sampathweb's full-sized avatar

Ramesh Sampath sampathweb

  • San Francisco, CA
View GitHub Profile
@sampathweb
sampathweb / README.md
Last active December 21, 2015 07:33
Bar Chart_beta
@sampathweb
sampathweb / README.md
Created March 13, 2016 22:13
D3 meetup: Simple Scatter
df = pd.DataFrame({
"col_1": ["Movie1", "Movie2", "Movie3"],
"films": ["film1, film1.1", "film2", "film3"],
"books": ["book1, book1.1", "book2", "book3, book3.1"]
})
def split_values(row, row_accumulator):
"""
Split the rows into multiple Rows based on Books array.
Extends Films by repeating the last value to the length of Books list.
@sampathweb
sampathweb / index.html
Created May 3, 2016 02:50
Anscombe's Quartert Scatterplot
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
/*css to go here*/
</style>
</head>
<body>
@sampathweb
sampathweb / .block
Last active May 13, 2016 02:39
Barley Farmers Exploration
license: mit
@sampathweb
sampathweb / .block
Last active May 13, 2016 02:39
Barley Yields Simple Multiples
license: mit
@sampathweb
sampathweb / .block
Last active May 12, 2016 21:59
Basic Bar Chart
license: mit
@sampathweb
sampathweb / .block
Created May 17, 2016 22:26
Bar Chart I
license: gpl-3.0
@sampathweb
sampathweb / README.md
Last active May 19, 2016 04:31
Median Income from 2009 to 2012