Skip to content

Instantly share code, notes, and snippets.

View policyglot's full-sized avatar

Abhishek Pandit policyglot

View GitHub Profile
@policyglot
policyglot / understanding-word-vectors.ipynb
Created April 14, 2019 21:16 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@policyglot
policyglot / Index1.html
Created November 20, 2017 05:58
The files that went into the Data Visualization Project
<html>
<div id="chartContainer">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="http://dimplejs.org/dist/dimple.v2.3.0.min.js"></script>
<script type="text/javascript">
var svg1 = dimple.newSvg("#chartContainer", 590, 400);
d3.csv("school.csv", function (data) {
var myChart = new dimple.chart(svg1, data);
var x= myChart.addCategoryAxis("x", "Grade");
var yAxis= myChart.addMeasureAxis("y", "Records");