Skip to content

Instantly share code, notes, and snippets.

@ccmcc
ccmcc / outfinal.csv
Last active December 15, 2015 13:29
Python script to process data (included in outfinal.csv) about links between tags (in this case, tags in a comparative literature class blog), the book the tags were related to, and the topic of the blog post, in order to make a co-occurrence matrix showing which post topics shared the most tags. Part of a project working with the University of …
tag1 tag2 Book Topic
creator created Frankenstein Creator vs Created
creator creature Frankenstein Creator vs Created
created creature Frankenstein Creator vs Created
feminism philosophy Frankenstein Mary Wollstonecraft
feminism creator Frankenstein Mary Wollstonecraft
philosophy creator Frankenstein Mary Wollstonecraft
alchemy inspiration Frankenstein Agrippa|Paracelsus|and Magnus
alchemy philosophy Frankenstein Agrippa|Paracelsus|and Magnus
inspiration philosophy Frankenstein Agrippa|Paracelsus|and Magnus
@ccmcc
ccmcc / index.html
Last active December 15, 2015 01:49
D3 Force Diagram Template with CSV files
// NODE KEY
// Green is group1
// Red is group2
// Blue is group3
// Black is group4
<br>
// LINK KEY
// Black is type1
// Yellow is type2